From 8d4ad9ad7f24dd9002ddf4860517cfe5134683ef Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Tue, 17 Nov 2020 11:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=A8=E5=9F=9F=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);