From 25bc7dc34745c756406020570f45bd8ff7f37dfb Mon Sep 17 00:00:00 2001 From: DJ Gillespie Date: Wed, 19 Jul 2023 22:26:09 -0600 Subject: [PATCH] attempt 2 at cors --- core/settings/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/settings/__init__.py b/core/settings/__init__.py index ab7991d..0680661 100644 --- a/core/settings/__init__.py +++ b/core/settings/__init__.py @@ -76,8 +76,11 @@ MIDDLEWARE = [ ] CORS_ORIGIN_WHITELIST = [ - '*' + 'http://localhost:3000', + 'https://localhost:3000', + 'http://localhost:44485' ] +CORS_ALLOW_ALL_ORIGINS = True ROOT_URLCONF = 'core.urls'