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