Skip to content

Commit

Permalink
add csrf trusted origins in prod settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Jun 18, 2024
1 parent bc51057 commit 3047e0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"bitoubi-django.cleverapps.io",
]

CSRF_TRUSTED_ORIGINS = [
"https://lemarche.inclusion.beta.gouv.fr",
]

SECURE_SSL_REDIRECT = env.str("SECURE_SSL_REDIRECT", True)

MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa
Expand Down

0 comments on commit 3047e0d

Please sign in to comment.