Closed sheleoni closed 1 year ago
current understanding: we should ask Netlify not to look for resources (i.e. not to serve a collections.html file), but instead always serve the index.html, since React will create the "illusion" of getting files from collection.html file, when in fact it is just replacing parts of the original index.html file and changing the URL after it changes the content of the index.html file
_redirects Netlify docs https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file
/collection works fine on local, but not on deployed site
reference: https://stackoverflow.com/questions/75375772/routes-not-working-properly-in-react-using-vite-on-build