1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 07:19:36 +02:00

chore: Update CORS and CSRF settings for demo purposes

This commit is contained in:
Sean Morley 2024-07-08 15:31:19 -04:00
parent 7bec359f26
commit 3f92580849

View file

@ -188,13 +188,8 @@ SWAGGER_SETTINGS = {
# For demo purposes only. Use a white list in the real world.
CORS_ORIGIN_ALLOW_ALL = False
CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOWED_ORIGINS = [
'http://localhost:3000',
'http://adventurelog.app',
'https://api.adventurelog.app',
]
CSRF_TRUSTED_ORIGINS = [
'https://api.adventurelog.app',