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.
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.