diff --git a/app.js b/app.js index fb8a4c3..e3c375b 100644 --- a/app.js +++ b/app.js @@ -32,7 +32,7 @@ app.use(express.static(path.join(__dirname, 'public'))); console.debug(`webClient:${process.env.webClient}`) app.use(cors({ - origin:[process.env.webClient,process.env.devClient], + origin:[process.env.webClient], credentials:true })) app.use('/', indexRouter);