From 77c776824de39669facb08100b55e4c33f3042a7 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 8 Jun 2020 14:08:13 +0800 Subject: [PATCH] cors --- client/.env.production | 2 +- server/server/settings.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/.env.production b/client/.env.production index a6dc4c1..48f348a 100644 --- a/client/.env.production +++ b/client/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://116.63.176.211:8036/api' +VUE_APP_BASE_API = 'http://116.63.176.211:8035' diff --git a/server/server/settings.py b/server/server/settings.py index 7f01118..852ef71 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -117,7 +117,6 @@ USE_TZ = True # 跨域配置 CORS_ALLOW_CREDENTIALS = False CORS_ORIGIN_ALLOW_ALL = True -CORS_ALLOW_CREDENTIALS = False # Static files (CSS, JavaScript, Images)