This commit is contained in:
caoqianming 2020-06-04 21:50:35 +08:00
parent c87b145151
commit 84b83951c7
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ USE_TZ = True
# 跨域配置 # 跨域配置
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_CREDENTIALS = False
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.0/howto/static-files/ # https://docs.djangoproject.com/en/3.0/howto/static-files/