scraly / developers-conferences-agenda

This repository list a maximum of tech conferences's date and CFP in order to help conferences organizers, speakers & attendees
https://developers.events/
1.65k stars 408 forks source link

Fixing the router on published pages #845

Closed jespino closed 9 months ago

jespino commented 9 months ago

The routing was working great locally, but is broken on published pages, because if you refresh the page, the server returns a 404. This is because the server is not configured to return the index.html file for all routes.

This PR fixes that by using the HashRouter instead of the BrowserRouter.

scraly commented 9 months ago

I added yesterday the 404 error also, thx