From ed1ba7814f0276f12d3bb3e7def951b1026b9b60 Mon Sep 17 00:00:00 2001 From: Yubao Liu Date: Fri, 23 Feb 2024 10:23:54 +0800 Subject: [PATCH] Fix blank page error after `npm start` (#11157) Fixed error: Absolute route path "/*" nested under path "/user" is not valid. An absolute child route path must start with the combined path of all its parent routes. --- config/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.ts b/config/routes.ts index 2a28febd..aaf6f182 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -39,7 +39,7 @@ export default [ }, { component: '404', - path: '/*', + path: '/user/*', }, ], },