diff --git a/postamates/settings.py b/postamates/settings.py index 6ffd62a..523357e 100644 --- a/postamates/settings.py +++ b/postamates/settings.py @@ -133,7 +133,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'django_media') DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -CORS_ORIGIN_ALLOW_ALL = True # If this is used then `CORS_ORIGIN_WHITELIST` will not have any effect +CORS_ALLOW_ALL_ORIGINS = True # If this is used then `CORS_ORIGIN_WHITELIST` will not have any effect CORS_ALLOW_CREDENTIALS = True CORS_ORIGIN_ALLOW = True