1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 01:45:03 +00:00
mon-entreprise/netlify.toml

78 lines
1.5 KiB
TOML
Raw Normal View History

# InFrance PRODUCTION settings
[[redirects]]
from = "https://mycompanyinfrance.fr/robots.txt"
to = "/robots.infrance.txt"
status = 200
2018-07-26 16:48:36 +02:00
[[redirects]]
from = "https://mycompanyinfrance.fr"
to = "/prerender/infrance/index.html"
2018-07-26 17:32:14 +02:00
status = 200
2018-09-07 11:58:09 +02:00
[[redirects]]
from = "https://mycompanyinfrance.fr"
to = "/prerender/infrance/social-security/index.html"
2018-09-07 11:58:09 +02:00
status = 200
2018-07-26 17:32:14 +02:00
[[redirects]]
from = "https://mycompanyinfrance.fr/*"
2018-07-26 16:53:58 +02:00
to = "/infrance.html"
status = 200
# Embauche PRODUCTION settings
[[redirects]]
from = "https://embauche.beta.gouv.fr/stats"
to = "https://rough-college.glitch.me/"
status = 200
2018-09-07 11:58:09 +02:00
2018-08-10 08:30:44 +02:00
[[redirects]]
from = "https://embauche.beta.gouv.fr/modules/v2/*"
to = "/:splat"
2018-08-10 08:30:44 +02:00
2018-09-07 11:58:09 +02:00
[[redirects]]
from = "https://embauche.beta.gouv.fr/robots.txt"
to = "/robots.embauche.txt"
status = 200
[[redirects]]
from = "https://embauche.beta.gouv.fr/"
to = "/prerender/embauche/index.html"
status = 200
[[redirects]]
from = "https://embauche.beta.gouv.fr/*"
to = "/embauche.html"
status = 200
# Redirect for embauche in staging and development settings
[[redirects]]
from = "/"
query = {s = "e"}
to = "/prerender/embauche/index.html"
status = 200
2018-09-07 11:58:09 +02:00
[[redirects]]
from = "/*"
query = {s = "e"}
to = "/embauche.html"
status = 200
# Redirect for infrance in staging and development settings
[[redirects]]
from = "/"
to = "/prerender/infrance/index.html"
status = 200
[[redirects]]
from = "/social-security"
to = "/prerender/infrance/social-security/index.html"
status = 200
[[redirects]]
from = "/*"
to = "/infrance.html"
status = 200