From 37b9420054c785b6b15ee2c71ff0247b9f64c504 Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Fri, 13 Oct 2023 16:15:31 +0200 Subject: [PATCH] fix routage doc url --- config/initializers/02_urls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/02_urls.rb b/config/initializers/02_urls.rb index 0bcec10d1..f10a271e1 100644 --- a/config/initializers/02_urls.rb +++ b/config/initializers/02_urls.rb @@ -32,7 +32,7 @@ LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/") CGU_URL = ENV.fetch("CGU_URL", [DOC_URL, "cgu"].join("/")) MENTIONS_LEGALES_URL = ENV.fetch("MENTIONS_LEGALES_URL", "/mentions-legales") ACCESSIBILITE_URL = ENV.fetch("ACCESSIBILITE_URL", "/declaration-accessibilite") -ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", "/pour-aller-plus-loin/routage") +ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", [DOC_URL, "/pour-aller-plus-loin/routage"].join("/")) API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "graphql"].join("/") WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/") ARCHIVAGE_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "archivage-longue-duree-des-demarches"].join("/")