Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
chau-nm committed Sep 15, 2024
1 parent 059ba15 commit bdbaeed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "resume",
"version": "0.1.0",
"private": true,
"homepage": "https://chau-nm.github.io/",
"homepage": "https://chau-nm.github.io/resume/",
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { FC } from "react";
import { Route, Routes } from "react-router-dom";
import "./App.scss";
import Main from "./feature/main";
// import PageNotFound from "./feature/404";
import PageNotFound from "./feature/404";

const App: FC = () => {
return (
<Routes>
<Route path="/:section?" element={<Main />} />
{/* <Route path="*" element={<PageNotFound />} /> */}
<Route path="*" element={<PageNotFound />} />
</Routes>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const root = ReactDOM.createRoot(
);
root.render(
<React.StrictMode>
<BrowserRouter>
<BrowserRouter basename="/resume">
<App />
</BrowserRouter>
</React.StrictMode>
Expand Down

0 comments on commit bdbaeed

Please sign in to comment.