cors
This commit is contained in:
parent
c87b145151
commit
84b83951c7
|
@ -116,6 +116,7 @@ USE_TZ = True
|
|||
|
||||
# 跨域配置
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
CORS_ALLOW_CREDENTIALS = False
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
||||
|
|
Loading…
Reference in New Issue