Skip to content

Commit

Permalink
fix: attempt to fix base url
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Jul 12, 2024
1 parent b3775f2 commit ff86d0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function App() {
<script defer data-domain="scout-ch.github.io/thilo" src={'https://plausible.io/js/script.js'}></script>
</Helmet>
<div className='App'>
<Router basename="/">
<Router basename={import.meta.env.BASE_URL}>
<LinksContext.Provider value={links}>
<Header />
<PageLayout sx={{padding: '0'}}>
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"types": ["node", "vite/client"],
},
"include": [
"src"
Expand Down

0 comments on commit ff86d0d

Please sign in to comment.