Skip to content

Commit

Permalink
Set hostname in CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanjbrown committed Apr 22, 2024
1 parent b27c622 commit 0aab66b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions consultation_analyser/settings/production.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from consultation_analyser.settings.base import * # noqa

CSRF_TRUSTED_ORIGINS = ['https://' + env('DOMAIN_NAME')]

0 comments on commit 0aab66b

Please sign in to comment.