From 68b021fc80d3aa3c0fe448e5b28d8a2871a0258e Mon Sep 17 00:00:00 2001 From: dannyrb Date: Mon, 29 Apr 2019 08:52:52 -0400 Subject: [PATCH] Try a demo only redirect --- netlify.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 4f53693fc..ab001eb8c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -14,7 +14,12 @@ YARN_FLAGS = "--no-ignore-optional --pure-lockfile" # COMMENT: This a rule for Single Page Applications +# [[redirects]] +# from = "/*" +# to = "/index.html" +# status = 200 + [[redirects]] - from = "/*" - to = "/index.html" + from = "/demo/*" + to ="/demo/index.html" status = 200