Skip to content

Commit 5bde535

Browse files
committed
Base url
1 parent a1ce348 commit 5bde535

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/navigation/Navigator.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ export default function Navigator() {
99
return (
1010
<>
1111
<Routes>
12-
<Route path={"/portfolio/"} element={<Home />}></Route>
13-
<Route path={"/portfolio/about"} element={<AboutMe />}></Route>
14-
<Route path={"/portfolio/education"} element={<Education />}></Route>
15-
<Route path={"/portfolio/work"} element={<Work />}></Route>
16-
<Route path={"/portfolio/projects"} element={<Projects></Projects>}></Route>
12+
<Route path={"/"} element={<Home />}></Route>
13+
<Route path={"/about"} element={<AboutMe />}></Route>
14+
<Route path={"/education"} element={<Education />}></Route>
15+
<Route path={"/work"} element={<Work />}></Route>
16+
<Route path={"/projects"} element={<Projects></Projects>}></Route>
1717
</Routes>
1818
</>
1919
);

vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import react from "@vitejs/plugin-react";
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
base:"/portfolio",
7+
base:"/portfolio/",
88
});

0 commit comments

Comments
 (0)