This is the application code
`
<BrowserRouter basename="/app">
<Routes>
<Route path="/" element={<Landing/>} /> {/* ???? Renders at /app/ */}
<Route path="/game" element={<Game/>}/>
</Routes>
</BrowserRouter>
The output on the console when I run the service
`react-router-dom.js?v=24395915:213 <Router basename="/app"> is not able to match the URL "/" because it does not start with the basename, so the <Router> won't render anything.`
The local server URL being generated doesn’t include “/app” and is still defaulted to port 5173-i.e
http://localhost:5173/
New contributor
ooh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.