Error page on page refresh

Vite on Netlify | Netlify Docs

There are also countless threads on the forums to look for.