From 490de727c45b6a4ecd9ca9549c8864c347f874df Mon Sep 17 00:00:00 2001 From: FarmerJohnsBessie Date: Mon, 8 Jul 2024 08:57:54 -0400 Subject: [PATCH] patched small error --- satduel/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/satduel/settings.py b/satduel/settings.py index 58e1955..6ef8aa4 100644 --- a/satduel/settings.py +++ b/satduel/settings.py @@ -29,9 +29,9 @@ DEBUG = True ALLOWED_HOSTS = ['*'] -CORS_ALLOWED_ORIGINS = [ - "http://localhost:3000", -] +# CORS_ALLOWED_ORIGINS = [ +# "http://localhost:3000", +# ] # Application definition @@ -59,7 +59,7 @@ 'whitenoise.middleware.WhiteNoiseMiddleware', ] -CORS_ORIGIN_ALLOW_ALL = True +CORS_ALLOW_ALL_ORIGINS = True ROOT_URLCONF = 'satduel.urls'