Skip to content

Commit

Permalink
added base to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
elimelt committed Oct 30, 2024
1 parent c2d5df3 commit f47c78e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { JoinPage } from './pages/JoinPage';
function App() {
return (
<ChakraProvider theme={theme}>
<Router >
<Router>
<Routes>
<Route path="/members" element={<MembersPage />} />
<Route path="/members/:id" element={<MemberDetailsPage />} />
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/club-website-v2/'
})

0 comments on commit f47c78e

Please sign in to comment.