Skip to content

Commit

Permalink
fix router base prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lohr committed Jan 11, 2024
1 parent d4c4a51 commit 3e537b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function App() {
return (
<MetaProvider>
<Router
base={process.env.BASE_PATH}
base={import.meta.env.SERVER_BASE_URL}
root={(props) => (<Suspense>{props.children}</Suspense>)}
>
<FileRoutes />
Expand Down

0 comments on commit 3e537b0

Please sign in to comment.