I have an app that's using react router. I have already set up my dev environment to use it and I don't have the problem when I want to refresh the page, or the server do it itself, but when i make a production build. If any user use the refresh button in the app, it will have a 404 error.
I know in the server (my prod build will be in an ISS srv), the route made by react router what the app is trying to access doesn't exist, so how can I fix that problem?
what do I need to do and how to do it?
I'm pretty new on this.
Thanks for your time and help!