Browse Source

try to fix cors

ilya_shyian 2 years ago
parent
commit
092da067a7
1 changed files with 1 additions and 0 deletions
  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',