Compare commits

..

2 Commits

Author SHA1 Message Date
3da92fa221 Merge pull request 'config: add production domain to CORS allowed origins' (#33) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/33
2025-11-25 17:38:17 +00:00
7ee3663ffa 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.
2025-11-25 17:37:06 +00:00

View File

@ -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(',')