chenjunkai %!s(int64=6) %!d(string=hai) anos
pai
achega
dc51b2d795
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      AnsjerPush/settings.py

+ 3 - 2
AnsjerPush/settings.py

@@ -139,8 +139,9 @@ STATIC_URL = '/static/'
 # 跨域增加忽略
 CORS_ALLOW_CREDENTIALS = True
 CORS_ORIGIN_ALLOW_ALL = True
-CORS_ORIGIN_WHITELIST = ('*')
-
+CORS_ORIGIN_WHITELIST = (
+    '*'
+)
 CORS_ALLOW_METHODS = (
     'DELETE',
     'GET',