From c8eacb2204d3702b8bfa76fef7a7c99a5df66924 Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Wed, 30 Apr 2025 17:47:31 +0200 Subject: [PATCH] Update allowed hosts and CSRF origins for production Replaces old domain with new URLs in ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS. Ensures proper configuration for the production environment. --- feo_homepage/settings/prod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feo_homepage/settings/prod.py b/feo_homepage/settings/prod.py index cd9a259..b16983b 100644 --- a/feo_homepage/settings/prod.py +++ b/feo_homepage/settings/prod.py @@ -4,10 +4,10 @@ from .base import * DEBUG = False TEMPLATE_DEBUG = True -ALLOWED_HOSTS = ['feoneu.asw.io'] +ALLOWED_HOSTS = ["https://www.feo.gmbh", "https://feo.gmbh"] USE_X_FORWARDED_HOST = True SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') -CSRF_TRUSTED_ORIGINS = ["https://feoneu.asw.io",] +CSRF_TRUSTED_ORIGINS = ["https://www.feo.gmbh", "https://feo.gmbh"] ENV = 'prod'