Explorar o código

try to fix cors

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