Answer the question
In order to leave comments, you need to log in
React BrowserRouter 404 error after page reload?
Good afternoon.
I'm using BrowserRouter on LAN and everything works fine. After uploading to the server, when I go to any Rout and reload the page. Throws page not found error.
Tell me how to solve?
Answer the question
In order to leave comments, you need to log in
Set up the web server accordingly. Google "nginx spa configuration" or "apache spa configuration".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question