dengliming opened a new issue, #641: URL: https://github.com/apache/shenyu-dashboard/issues/641
## Description `getBaseRedirect` returns the first authorized key in `routerData` insertion order. `/plug/Mcp/mcpServer` is registered before `/home` in `src/common/router.js`, so the `/` redirect targets the McpServer page for any user who has that plugin authorized. ## Location (Lines refer to `master @ 83969a5`.) - `src/layouts/BasicLayout.js:191-215` - `src/common/router.js:98-105` ## Impact Clicking the logo (`<Link to="/">`) or opening the root URL sends users to the McpServer plugin page instead of Home. ## Suggested fix Prefer `/home` when authorized, otherwise fall back to the first authorized route. ## Related existing None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
