Try a demo only redirect
This commit is contained in:
parent
a7f77ca543
commit
68b021fc80
@ -14,7 +14,12 @@
|
|||||||
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 = "/*"
|
||||||
|
# to = "/index.html"
|
||||||
|
# status = 200
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/demo/*"
|
||||||
to = "/index.html"
|
to ="/demo/index.html"
|
||||||
status = 200
|
status = 200
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user