React-router not working after deploying vite react project

I deploy vite react project successfully, however navigation and page refresh is not working as it return error 404. how do i resolve this?


Have you configured any re-write rules as described in our documentation []? It’s important to note that, by default, any request to a path other than the root path will fail on static sites, as those URLs are not handled or captured by default.

Jérémy, Render Support

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.