19 lines
292 B
Python
19 lines
292 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/',
|
|
]
|
|
|
|
CORS_ALLOW_METHODS = [
|
|
"DELETE",
|
|
"GET",
|
|
"POST",
|
|
"PUT",
|
|
] |