# add Authorization in allow headers

This commit is contained in:
xianfuxing 2018-07-24 21:18:24 +08:00
parent eccc5e48c3
commit 07fe6aa162
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_HEADERS = [ CORS_ALLOW_HEADERS = [
'X-Token', 'X-Token',
'Content-Type', 'Content-Type',
'Authorization',
] ]
ROOT_URLCONF = 'mosqkiller.urls' ROOT_URLCONF = 'mosqkiller.urls'