From 68cb06a3a305a5a218af634a7bc475f1ff54fb19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20G=C3=A9r=C3=B4me?= Date: Thu, 31 Oct 2024 14:00:03 +0100 Subject: [PATCH] fix(settings): In case of local hosting with a proxy, set the proxy url as the base_url as well --- config/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/settings/base.py b/config/settings/base.py index c69119b3b..9fd6fa1ff 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -76,6 +76,7 @@ else SCHEME ) PROXY_URL = f'{SCHEME}://{os.environ.get("PROXY_HOSTNAME_AND_PORT")}' + BASE_URL = PROXY_URL NEW_FRONTEND_DOMAIN = os.environ.get( "NEW_FRONTEND_DOMAIN", os.environ.get("PROXY_HOSTNAME_AND_PORT") )