Skip to content

Commit

Permalink
Merge pull request #5 from NUSComputingDev/feature-browser
Browse files Browse the repository at this point in the history
Update browserrouter
  • Loading branch information
Respirayson authored Dec 22, 2023
2 parents 8c21f68 + 806e493 commit f540d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BrowserRouter } from "react-router-dom";

ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>
<BrowserRouter>
<BrowserRouter basename={import.meta.env.DEV ? '/' : '/comclub-website-2024/'}>
<App />
</BrowserRouter>
</React.StrictMode>
Expand Down

0 comments on commit f540d71

Please sign in to comment.