Browse Source
fix: resolve 404 page blank screen (#11729)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
pull/11730/head
Alex Zhu
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
config/routes.ts
|
|
@ -37,7 +37,7 @@ export default [ |
|
|
component: './user/register', |
|
|
component: './user/register', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
component: '404', |
|
|
component: './404', |
|
|
path: '/user/*', |
|
|
path: '/user/*', |
|
|
}, |
|
|
}, |
|
|
], |
|
|
], |
|
|
@ -290,7 +290,7 @@ export default [ |
|
|
redirect: '/dashboard/analysis', |
|
|
redirect: '/dashboard/analysis', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
component: '404', |
|
|
component: './404', |
|
|
path: './*', |
|
|
path: './*', |
|
|
}, |
|
|
}, |
|
|
]; |
|
|
]; |
|
|
|