preact-router not resolving route with params after refresh
espinosakev24 opened this issue · comments
I'm having this issue when I refresh the page and the route is using parameters:
When I navigate to TestPage, it works as expected, but after refresh it throws:
GET http://localhost:5173/test/src/index.jsx net::ERR_ABORTED 404 (Not Found)
I'm using vite, no special config, just:
vite@4.4.9
preact-router@4.1.2
preact@10.17.0
I can't reproduce this: https://stackblitz.com/edit/vitejs-vite-deqijd?file=src%2Fmain.jsx