mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Replace _redirects with netlify.toml config
This commit is contained in:
parent
0db34f1145
commit
68567cc0e1
@ -1 +0,0 @@
|
|||||||
/* /index.html 200
|
|
12
netlify.toml
Normal file
12
netlify.toml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# example netlify.toml
|
||||||
|
[build]
|
||||||
|
command = "vite build"
|
||||||
|
functions = "netlify/functions"
|
||||||
|
publish = "dist"
|
||||||
|
|
||||||
|
## Uncomment to use this redirect for Single Page Applications
|
||||||
|
## Not needed for static site generators.
|
||||||
|
[[redirects]]
|
||||||
|
from = "/*"
|
||||||
|
to = "/index.html"
|
||||||
|
status = 200
|
Loading…
Reference in New Issue
Block a user