From e3cca684ac2bdea8e73f2cd6ba3c94a8eac31508 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 8 Aug 2018 13:16:43 +0200 Subject: [PATCH] =?UTF-8?q?autorise=20les=20deploy=20preview=20diff=C3=A9r?= =?UTF-8?q?enci=C3=A9=20pour=20chaque=20site=20(defaut=20sur=20infrance)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/netlify.toml b/netlify.toml index 4cedb8f92..51c8775ee 100644 --- a/netlify.toml +++ b/netlify.toml @@ -12,3 +12,14 @@ status = 200 from = "https://embauche.beta.gouv.fr/*" to = "/embauche.html" status = 200 + +[[redirects]] +from = "/*" +query = {site = "embauche"} +to = "/embauche.html" +status = 200 + +[[redirects]] +from = "/*" +to = "/infrance.html" +status = 200