From e1f647bd0246d3f4fc804c71769cc575731c1d54 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Fri, 30 Oct 2020 21:28:25 +0100 Subject: [PATCH] lesser hardcoded --- ansible/roles/2-nk20/templates/env.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/roles/2-nk20/templates/env.j2 b/ansible/roles/2-nk20/templates/env.j2 index fbef052d..84213ac7 100644 --- a/ansible/roles/2-nk20/templates/env.j2 +++ b/ansible/roles/2-nk20/templates/env.j2 @@ -9,8 +9,7 @@ DJANGO_DB_PORT= DJANGO_SECRET_KEY=CHANGE_ME DJANGO_SETTINGS_MODULE=note_kfet.settings CONTACT_EMAIL=tresorerie.bde@localhost -NOTE_URL=localhost -DOMAIN=localhost +NOTE_URL= {{note.server_name}} # Config for mails. Only used in production NOTE_MAIL=notekfet@localhost