From 548ee0aa6eb0ef75823031d988b3974446f63d16 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 6 Mar 2024 18:23:27 +0100 Subject: [PATCH] settings: always print DOMAIN var --- trustchain_idhub/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 525fb66..c3a9438 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -34,6 +34,8 @@ DEBUG = config('DEBUG', default=False, cast=bool) DOMAIN = config("DOMAIN") assert DOMAIN not in [None, ''], "DOMAIN var is MANDATORY" +# this var is very important, we print it +print("DOMAIN: " + DOMAIN) ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=DOMAIN, cast=Csv()) assert DOMAIN in ALLOWED_HOSTS, "DOMAIN is not ALLOWED_HOST"