Skip to content

Commit

Permalink
add basename to router
Browse files Browse the repository at this point in the history
  • Loading branch information
wbglaeser committed Jun 6, 2024
1 parent eba93a0 commit e09839c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const App = () => {
return (
<ThemeProvider theme={theme}>
<ViewportUpdater/>
<Router>
<Router basename={process.env.PUBLIC_URL}>
<div>
<Routes>
<Route path="/" element={<Home/>}/>
Expand Down

0 comments on commit e09839c

Please sign in to comment.