feat: Serve static assets of apps

This commit is contained in:
Faruk AYDIN
2021-10-19 16:29:37 +02:00
committed by Ali BARIN
parent 5a2de1de9e
commit 672cc4c60c
17 changed files with 118 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
import appConfig from './app'
const corsOptions = {
origin: `${appConfig.protocol}://${appConfig.host}:${appConfig.corsPort}`,
origin: appConfig.webAppUrl,
methods: 'POST',
credentials: true,
optionsSuccessStatus: 200,