I've deployed an application in React to IIS on Windows.
A basic system, a login screen and a dashboard screen.
Upon logging in, it drops to a dashboard screen.
And on the panel screen, if I press F5 the 403 error occurs.
My routes are: http://application/login and http://application/dashboard.
What I have tried:
I have another application in react too, which the company uses, I had to create the directories in IIS, For example http://application/dashboard, I went to the application directory, and created the dashboard folders. and inside I created an index.html with redirect to the main route.