From 6b95a151f03cb288d97690bb1f8f57e370fbca9a Mon Sep 17 00:00:00 2001 From: Yubao Liu Date: Tue, 6 Feb 2024 14:07:56 +0800 Subject: [PATCH] Fix blank page error after `npm start` 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/*', }, ], },