Explorar o código

try to fix cors

ilya_shyian %!s(int64=2) %!d(string=hai) anos
pai
achega
2c0ad68463
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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",