Browse Source

try to fix cors

ilya_shyian 2 years ago
parent
commit
2c0ad68463
1 changed files with 2 additions and 0 deletions
  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",