Browse Source

fix: router

richard1015 5 years ago
parent
commit
d0e3aedc3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sites/doc/router.ts

+ 1 - 1
src/sites/doc/router.ts

@@ -36,7 +36,7 @@ routes.push({
 routes.push({
   name: 'NotFound',
   path: '/:path(.*)+',
-  redirect: () => '/',
+  redirect: () => '/'
 });
 
 const router = createRouter({