From 7ee3663ffa4a478754c9078ef5c68cdd4e7ec98c Mon Sep 17 00:00:00 2001 From: saani Date: Tue, 25 Nov 2025 17:37:06 +0000 Subject: [PATCH] config: add production domain to CORS allowed origins Add attunehearttherapy.com to the CORS_ALLOWED_ORIGINS setting to enable cross-origin requests from the production domain. This allows the frontend application hosted at the production URL to communicate with the backend API. --- booking_system/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/booking_system/settings.py b/booking_system/settings.py index 66473a9..9f5756e 100644 --- a/booking_system/settings.py +++ b/booking_system/settings.py @@ -19,7 +19,8 @@ ALLOWED_HOSTS = os.getenv( CORS_ALLOWED_ORIGINS = os.getenv( 'CORS_ALLOWED_ORIGINS', - 'http://localhost:3000,http://127.0.0.1:3000' + 'http://localhost:3000,http://127.0.0.1:3000,https://attunehearttherapy.com + ' ).split(',') -- 2.39.5