Selaa lähdekoodia

try to fix cors

ilya_shyian 2 vuotta sitten
vanhempi
commit
2c0ad68463
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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",