chenjunkai 6 yıl önce
ebeveyn
işleme
dc51b2d795
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  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',