fix
This commit is contained in:
@@ -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',
|
||||
]
|
||||
Reference in New Issue
Block a user