Skip to content

Commit

Permalink
Formatting CSRF getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Apr 11, 2024
1 parent 1d6f67b commit 8439f3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@
"WAGTAILADMIN_BASE_URL", "https://nationalarchives.gov.uk"
)

CSRF_TRUSTED_ORIGINS = [os.getenv("CSRF_TRUSTED_ORIGIN", "nationalarchives.gov.uk")]
CSRF_TRUSTED_ORIGINS = [
os.getenv("CSRF_TRUSTED_ORIGIN", "https://nationalarchives.gov.uk")
]

# For search results within Wagtail itself
WAGTAILSEARCH_BACKENDS = {
Expand Down

0 comments on commit 8439f3a

Please sign in to comment.