This commit is contained in:
behruz-dev
2025-11-24 15:54:56 +05:00
parent cafc32b5d3
commit f62b585e14
2 changed files with 8 additions and 11 deletions

View File

@@ -1,19 +1,16 @@
# 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/',
]
CORS_ALLOW_METHODS = [
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT",
]
CSRF_TRUSTED_ORIGINS = [
'https://api.meridynpharma.com',
'https://meridynpharma.com',
]