From b00989ffa60d68bf2a628fb1a6db70bb675968ac Mon Sep 17 00:00:00 2001 From: YourTechBud Date: Sun, 16 May 2021 20:03:22 +0530 Subject: [PATCH] added redirect rules --- netlify.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index 179edd5..031dfb6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "public" - command = "sh scripts/build.sh" + command = "npm run build && hugo" [context.production.environment] HUGO_VERSION = "0.64.0" HUGO_ENV = "production" @@ -11,7 +11,7 @@ HUGO_VERSION = "0.64.0" [[redirects]] - from = "/getting-started/*" - to = "https://learn.spaceuptech.com/space-cloud/basics/setup/" + from = "/*" + to = "https://docs.space-cloud.io/:splat" status = 301 force = true \ No newline at end of file