diff --git a/src/router.tsx b/src/router.tsx index 7d2722f44..63a385ee4 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -13,7 +13,8 @@ export function createRouter({ Wrap }: { Wrap?: ({ children }: PropsWithChildren }, defaultPreload: 'intent', history, - Wrap + Wrap, + basepath: import.meta.env.BASE_URL }); }