Skip to content

Commit

Permalink
add vercel reroute
Browse files Browse the repository at this point in the history
  • Loading branch information
hellno committed Aug 23, 2023
1 parent 99e5f93 commit 0e20758
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export const router = createBrowserRouter([
{
path: "settings",
element: <Settings />,
// lazy: () => import('@/pages/Settings'),
},
]
}
Expand Down
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}

0 comments on commit 0e20758

Please sign in to comment.