Skip to content

Commit 00277c5

Browse files
committed
routing: set basename from vite BASE_URL for github pages
1 parent 1f1cb60 commit 00277c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Talent from "@/pages/Talent/Talent";
55

66
export default function App() {
77
return (
8-
<BrowserRouter>
8+
<BrowserRouter basename={import.meta.env.BASE_URL}>
99
<Routes>
1010
<Route element={<MainLayout />}>
1111
<Route index element={<Companies />} />

0 commit comments

Comments
 (0)