When deploying my React app, routing works smoothly in most browsers, including Safari and Edge. However, in Chrome, routing fails to function correctly. The app’s routes work locally without issues, and I’ve set up the necessary rewrite rules on the server, which should handle client-side routing. Despite this, Chrome does not correctly recognize or load the routes. This issue occurs across different devices and Chrome versions.
When clicking the route it redirects me to /index.html (only in Chrome)