From 2530f17bc245853e5df619fd1c24ac31e08f64bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 21 Sep 2019 16:50:55 +0200 Subject: [PATCH] Fix build.sh --- build.sh | 1 + netlify.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7194123..34966b3 100755 --- a/build.sh +++ b/build.sh @@ -6,4 +6,5 @@ cd docs composer install npm install npm run production + mkdir -p ../dist/docs cp -R build_production/* ../dist/docs \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 4b96b82..4cda698 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,4 +5,5 @@ command = "./build.sh" [[redirects]] from = "/docs/master/*" -to = "/docs/2.x/:splat" \ No newline at end of file +to = "/docs/2.x/:splat" +status = 302 \ No newline at end of file