Skip to content

Commit

Permalink
fix: fix 404 fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 22, 2024
1 parent 8a0c158 commit cab948d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/router/resolveRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const resolveRoute = <T extends RouteMeta = RouteMeta>(
// the route not found
if (!routes.value[routeKey]) {
return {
...routes.value['/404.html'],
...routes.value['/404'],
path: routeFullPath,
notFound: true,
} as ResolvedRoute<T>
Expand Down

0 comments on commit cab948d

Please sign in to comment.