Skip to content

Commit cab948d

Browse files
committed
fix: fix 404 fallback
1 parent 8a0c158 commit cab948d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/src/router/resolveRoute.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const resolveRoute = <T extends RouteMeta = RouteMeta>(
2828
// the route not found
2929
if (!routes.value[routeKey]) {
3030
return {
31-
...routes.value['/404.html'],
31+
...routes.value['/404'],
3232
path: routeFullPath,
3333
notFound: true,
3434
} as ResolvedRoute<T>

0 commit comments

Comments
 (0)