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.
This commit is contained in:
parent
aa0ac8c1c8
commit
7ee3663ffa
@ -19,7 +19,8 @@ ALLOWED_HOSTS = os.getenv(
|
|||||||
|
|
||||||
CORS_ALLOWED_ORIGINS = os.getenv(
|
CORS_ALLOWED_ORIGINS = os.getenv(
|
||||||
'CORS_ALLOWED_ORIGINS',
|
'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(',')
|
).split(',')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user