Skip to content

Commit

Permalink
build: 🛠 add CSRF configuration via environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfskaempf committed Apr 3, 2024
1 parent 4b69e6b commit de73607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions percvre/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
DEBUG = env.bool("PERCVRE_DEBUG", False)

ALLOWED_HOSTS = env.list("PERCVRE_ALLOWED_HOSTS", [])
CSRF_TRUSTED_ORIGINS = env.list("PERCVRE_CSRF_TRUSTED_ORIGINS", [])


# Application definition
Expand Down

0 comments on commit de73607

Please sign in to comment.