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
parent
commit
ee470abd5e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      config/routes.ts

4
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: '/*',
},
];

Loading…
Cancel
Save