From 2647c06bf1d2c5a8dded0e0d15ab139976f39069 Mon Sep 17 00:00:00 2001 From: Timofey Malinin Date: Sat, 5 Aug 2023 13:10:18 +0000 Subject: [PATCH] Tim fix --- postamates/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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