From 0d3dcf50350c5b675f76a1eb08fe38e8fc34fb0b Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Wed, 12 Jun 2019 09:10:21 +0200 Subject: [PATCH] docs(netlify.toml): Fix Netlify URL path issues for deploy previews (#544) --- netlify.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netlify.toml b/netlify.toml index 4f53693fc..39a2cf2c8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -14,6 +14,11 @@ YARN_FLAGS = "--no-ignore-optional --pure-lockfile" # COMMENT: This a rule for Single Page Applications +[[redirects]] + from = "/demo/*" + to = "/demo/index.html" + status = 200 + [[redirects]] from = "/*" to = "/index.html"