docs(netlify.toml): Fix Netlify URL path issues for deploy previews (#544)
This commit is contained in:
parent
ce9d956d00
commit
0d3dcf5035
@ -14,6 +14,11 @@
|
|||||||
YARN_FLAGS = "--no-ignore-optional --pure-lockfile"
|
YARN_FLAGS = "--no-ignore-optional --pure-lockfile"
|
||||||
|
|
||||||
# COMMENT: This a rule for Single Page Applications
|
# COMMENT: This a rule for Single Page Applications
|
||||||
|
[[redirects]]
|
||||||
|
from = "/demo/*"
|
||||||
|
to = "/demo/index.html"
|
||||||
|
status = 200
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/index.html"
|
to = "/index.html"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user