Skip to content

Commit

Permalink
fix: 404 redirect to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 2, 2021
1 parent 960c499 commit a93f369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const routes: RouteRecordRaw[] = [
],
},
{ path: '', redirect: { path: '/0' } },
{ path: '/:pathMatch(.*)', redirect: { path: '/0' } },
]

if (import.meta.env.DEV) {
Expand Down

0 comments on commit a93f369

Please sign in to comment.