[Bug]: BrowserRouter basename Doesn't Match all URL gives 404 on Production #10054
Unanswered
ademyalcin27
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of React Router are you using?
6.3.0
Steps to Reproduce
It's working development mode but It's not working on production;
if I go to with localhost:8080/web it's redirecting to localhost:8080/web/Home which is working
if I go to with localhost:8080/web/Home which is not working
If I refresh when this URL localhost:8080/web/Home which is not working
Im using webpack and my webpack settings
Expected Behavior
an existing url should open when the page is refreshed.
Actual Behavior
an existing not is opening when the page is refreshed.
Beta Was this translation helpful? Give feedback.
All reactions