Skip to content

Commit fd0ce2f

Browse files
committed
Add netlify config for SPA redirects
1 parent 8df36a6 commit fd0ce2f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: netlify.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[build]
2+
publish = "site"
3+
command = "npm run docs:build"
4+
5+
[[redirects]]
6+
from = "/*"
7+
to = "/index.html"
8+
status = 200

0 commit comments

Comments
 (0)