Update CORS setting
This commit is contained in:
+3
-1
@@ -85,7 +85,9 @@ LOGGING = {
|
||||
# Application definition
|
||||
IMPORT_EXPORT_USE_TRANSACTIONS = True
|
||||
TEST_RUNNER = "django_nose.NoseTestSuiteRunner"
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
# Could be replaced with CORS_ALLOWED_ORIGINS list.
|
||||
# See (check correct package version in the link) https://github.com/adamchainz/django-cors-headers/tree/3.7.0#configuration
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
ROOT_URLCONF = "sikweb.urls"
|
||||
WSGI_APPLICATION = "sikweb.wsgi.application"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user