From c90bd77ff4947bde9fc959523d7261d335472ac0 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Fri, 10 Mar 2023 23:11:07 +0800 Subject: [PATCH] Allow all for CORS --- ivy/config/settings.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ivy/config/settings.py b/ivy/config/settings.py index e94716b..c5e07b9 100644 --- a/ivy/config/settings.py +++ b/ivy/config/settings.py @@ -164,8 +164,5 @@ EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') EMAIL_PORT = 587 EMAIL_USE_TLS = True -CORS_ALLOWED_ORIGINS = [ - "http://localhost:3000", - "http://localhost:8000", - "https://lemeow125.github.io", -] +CORS_ALLOW_ALL_ORIGINS = True +CORS_ALLOW_CREDENTIALS = True