docs(netlify.toml): Fix Netlify URL path issues for deploy previews (#544)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2019-06-12 09:10:21 +02:00
1 parent ce9d956d00
commit 0d3dcf5035
1 file changed
+5
+5
View File
@@ -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"