Routing works in Safari, Edge and Co. but not in Chrome

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)

  • Test in an incognito window to rule out extensions or other browser settings.
  • Use Chrome’s Developer Tools → Console to check for routing-related errors.