ソースを参照

try to fix cors

ilya_shyian 2 年 前
コミット
2c0ad68463
1 ファイル変更2 行追加0 行削除
  1. 2 0
      store_back/settings.py

+ 2 - 0
store_back/settings.py

@@ -36,6 +36,8 @@ else:
     from .prod import *
 
 
+ALLOWED_HOSTS=["*"]
+
 # Application definition
 CORS_ALLOWED_ORIGINS = [
     "http://188.72.209.29",