Fix storybook in prod

pull/2743/head
Jérémy Rialland 2023-06-22 17:52:11 +02:00 committed by Jérémy Rialland
parent 1f9deb7068
commit 646bc59711
1 changed files with 6 additions and 4 deletions

View File

@ -268,8 +268,9 @@ Content-Security-Policy = "default-src 'self' mon-entreprise.fr; style-src 'self
[[redirects]]
from = ":SITE_FR/dev/storybook"
to = "/dev/storybook/index.html"
status = 200
to = ":SITE_FR/dev/storybook/index.html"
status = 301
force = true
[[redirects]]
from = ":SITE_FR/*"
@ -292,8 +293,9 @@ Content-Security-Policy = "default-src 'self' mon-entreprise.fr; style-src 'self
[[redirects]]
from = ":SITE_EN/dev/storybook"
to = "/dev/storybook/index.html"
status = 200
to = ":SITE_EN/dev/storybook/index.html"
status = 301
force = true
[[redirects]]
from = ":SITE_EN/*"