Browse Source
fix: correct global 404 catch-all route path (#11730)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
pull/11736/head
Alex Zhu
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
config/routes.ts
|
|
|
@ -37,6 +37,7 @@ export default [ |
|
|
|
component: './user/register', |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '404', |
|
|
|
component: './404', |
|
|
|
path: '/user/*', |
|
|
|
}, |
|
|
|
@ -290,7 +291,8 @@ export default [ |
|
|
|
redirect: '/dashboard/analysis', |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '404', |
|
|
|
component: './404', |
|
|
|
path: './*', |
|
|
|
path: '/*', |
|
|
|
}, |
|
|
|
]; |
|
|
|
|