Mise à jour des settings de prod
This commit is contained in:
parent
5134b2cd28
commit
f4d5ce92b4
1 changed files with 2 additions and 2 deletions
|
@ -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", ""),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue