From 0aab66bf380f94e711ca3b39bd2f4ad8adf99e47 Mon Sep 17 00:00:00 2001 From: Duncan Brown Date: Mon, 22 Apr 2024 16:34:27 +0100 Subject: [PATCH] Set hostname in CSRF_TRUSTED_ORIGINS --- consultation_analyser/settings/production.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/consultation_analyser/settings/production.py b/consultation_analyser/settings/production.py index aa34192a..d8995223 100644 --- a/consultation_analyser/settings/production.py +++ b/consultation_analyser/settings/production.py @@ -1 +1,4 @@ from consultation_analyser.settings.base import * # noqa + +CSRF_TRUSTED_ORIGINS = ['https://' + env('DOMAIN_NAME')] +