Update CORS to allow all

This commit is contained in:
Devoalda 2023-10-30 22:05:20 +08:00
parent eebfee8e7c
commit 6c644bf722
1 changed files with 6 additions and 3 deletions

View File

@ -93,9 +93,12 @@ SIMPLE_JWT = {
"TOKEN_TYPE_CLAIM": "token_type", "TOKEN_TYPE_CLAIM": "token_type",
} }
CORS_ALLOWED_ORIGINS = [ CORS_ALLOW_ALL_ORIGINS = True
'http://localhost:3000', # CORS_ALLOWED_ORIGINS = [
] # 'http://localhost:3000',
# # Any
# ''
# ]
CORS_EXPOSE_HEADERS = [ CORS_EXPOSE_HEADERS = [
'Content-Disposition', 'Content-Disposition',