Skip to content

Commit

Permalink
BrowserRouter: handle basename correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Aug 31, 2024
1 parent ce35e1e commit c57a355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const App = () => {

return (
<div className="p-1">
<BrowserRouter>
<BrowserRouter basename={import.meta.env.VITE_BASE_PATH || "/"}>
<Routes>
<Route
path="/*"
Expand Down

0 comments on commit c57a355

Please sign in to comment.