Skip to content

Commit

Permalink
fix: deploy path
Browse files Browse the repository at this point in the history
  • Loading branch information
yanggggjie committed Nov 9, 2024
1 parent d4f1986 commit d64b261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createBrowserRouter, RouterProvider } from 'react-router-dom'

const Routes = () => (
<RouterProvider
router={createBrowserRouter(routes, { basename: '/time-block/' })}
router={createBrowserRouter(routes, { basename: '/TimeBlock/' })}
/>
)

Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import generouted from '@generouted/react-router/plugin'

// https://vite.dev/config/
export default defineConfig({
base: '/time-block/',
base: '/TimeBlock/',
plugins: [react(), generouted()],
})

0 comments on commit d64b261

Please sign in to comment.