Skip to content

Commit

Permalink
router basename
Browse files Browse the repository at this point in the history
  • Loading branch information
narinn-star committed Jul 17, 2023
1 parent 134879c commit 0bf07f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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": "PickreadMe",
"version": "1.0.0",
"main": "./index.js",
"homepage": "https://pickreadme.site/frontend/",
"homepage": "https://pickreadme.site",
"license": "MIT",
"proxy": "http://52.78.80.150:9000",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Router/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const AppRouter = () => {
const token = useAccess();
return (
<>
<BrowserRouter basename="/frontend">
<BrowserRouter>
<Routes>
<Route path="/" element={<Main />}>
<Route path="/" element={<MainScroll />} />
Expand Down

0 comments on commit 0bf07f8

Please sign in to comment.