Skip to content

Commit

Permalink
fix: basename for browser router
Browse files Browse the repository at this point in the history
  • Loading branch information
qzeene committed Jul 16, 2023
1 parent bcff335 commit 693c3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (container) {
const store = initStore();

root.render(
<BrowserRouter>
<BrowserRouter basename={process.env.PUBLIC_URL}>
<Provider store={store}>
<Application />
</Provider>
Expand Down

0 comments on commit 693c3d6

Please sign in to comment.