fix: spa mode redirects on Netlify

This commit is contained in:
Michael Zetterberg
2024-03-26 13:28:39 +01:00
parent e65df3eb97
commit 44f277230f
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
.husky
.prettierignore
lint-staged.config.js
netlify.toml
package.json
package-lock.json
prettier.config.cjs

4
netlify.toml Normal file
View File

@@ -0,0 +1,4 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200