add basename

This commit is contained in:
tomato6966 2025-02-25 22:21:36 +01:00
parent 1a89ea6215
commit 292fc08b6c

View file

@ -8,7 +8,9 @@ import App from "./App.tsx";
import { DarkModeProvider } from "./providers/DarkModeProvider.tsx";
// Let App handle the route definitions
const router = createBrowserRouter(App);
const router = createBrowserRouter(App, {
basename: "/investment-portfolio-simulator"
});
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>