Site Name: http://bippity-pj.netlify.app/
Issue: I have a react app, built using Vite, with react-router for routing. Since switching from CRA to Vite, redirects have not been working. I get a Page not found
if I attempt to directly navigate to any page except /
or /index.html
.
I’ve added a netlify.toml
file with the following:
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
I’ve also added a _redirects
file with the following:
/* /index.html 200
I’ve downloaded the site, and confirmed that the files are showing up where I’d expect them to:
I’m not sure where to go from here…thoughts?