Files
MeridynPharma-Backend/config/conf/corsheaders.py
2025-11-22 22:10:44 +05:00

14 lines
282 B
Python

CORS_ALLOWED_ORIGINS = [
"https://example.com",
"http://localhost:3000",
]
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [
'https://api.meridynpharma.com/',
'http://api.meridynpharma.com/'
'https://api.meridynpharma.com'
]