diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts index 54cd7231d..1197976d5 100644 --- a/packages/client/src/router.ts +++ b/packages/client/src/router.ts @@ -227,7 +227,7 @@ export const routes = [{ component: $i ? page(() => import('./pages/timeline.vue')) : page(() => import('./pages/welcome.vue')), globalCacheKey: 'index', }, { - path: '/(*)', + path: '/:(*)', component: page(() => import('./pages/not-found.vue')), }];