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"
|
||||
|
||||
# COMMENT: This a rule for Single Page Applications
|
||||
# [[redirects]]
|
||||
# from = "/*"
|
||||
# to = "/index.html"
|
||||
# status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
from = "/demo/*"
|
||||
to ="/demo/index.html"
|
||||
status = 200
|
||||
|
||||
Loading…
Reference in New Issue
Block a user