Explorar el Código

try to fix cors

ilya_shyian hace 2 años
padre
commit
2c0ad68463
Se han modificado 1 ficheros con 2 adiciones y 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",