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

This commit is contained in:
Erik Ziegler 2019-06-12 09:10:21 +02:00 committed by GitHub
parent ce9d956d00
commit 0d3dcf5035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"