From f4d5ce92b4165c5ebfb9709df749469f786fb04b Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 10 Apr 2021 20:24:39 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20settings=20de=20pr?= =?UTF-8?q?od?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kadenios/settings/prod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kadenios/settings/prod.py b/kadenios/settings/prod.py index 63ae9fe..448852f 100644 --- a/kadenios/settings/prod.py +++ b/kadenios/settings/prod.py @@ -24,7 +24,7 @@ DBPASSWD = import_secret("DBPASSWD") # À modifier possiblement lors de la mise en production # ############################################################################# -ALLOWED_HOSTS = ["kadenios.eleves.ens.fr", "www.kadenios.eleves.ens.fr"] +ALLOWED_HOSTS = ["vote.eleves.ens.fr"] STATIC_ROOT = os.path.join( os.path.dirname(os.path.dirname(BASE_DIR)), "public", "kadenios", "static" @@ -53,7 +53,7 @@ DATABASES = { "NAME": DBNAME, "USER": DBUSER, "PASSWORD": DBPASSWD, - "HOST": os.environ.get("DBHOST", "localhost"), + "HOST": os.environ.get("DBHOST", ""), } }