Update CORS to allow all
This commit is contained in:
parent
eebfee8e7c
commit
6c644bf722
|
@ -93,9 +93,12 @@ SIMPLE_JWT = {
|
|||
"TOKEN_TYPE_CLAIM": "token_type",
|
||||
}
|
||||
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
'http://localhost:3000',
|
||||
]
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
# CORS_ALLOWED_ORIGINS = [
|
||||
# 'http://localhost:3000',
|
||||
# # Any
|
||||
# ''
|
||||
# ]
|
||||
|
||||
CORS_EXPOSE_HEADERS = [
|
||||
'Content-Disposition',
|
||||
|
|
Loading…
Reference in New Issue