Try a demo only redirect

This commit is contained in:
dannyrb 2019-04-29 08:52:52 -04:00
parent a7f77ca543
commit 68b021fc80

View File

@ -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