Explorar el Código

try to fix cors

ilya_shyian hace 2 años
padre
commit
092da067a7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      store_back/settings.py

+ 1 - 0
store_back/settings.py

@@ -49,6 +49,7 @@ CORS_ALLOW_METHODS = [
     "GET",
     "POST",
     "PUT",
+    "OPTIONS"
 ]
 INSTALLED_APPS = [
     'django.contrib.admin',