diff --git a/router.js b/router.js index 5715d67b85..ddd539e5d4 100644 --- a/router.js +++ b/router.js @@ -18,14 +18,14 @@ router.get('/', async (ctx) => { }); const routes = Object.keys(ctx.debug.routes).sort((a, b) => ctx.debug.routes[b] - ctx.debug.routes[a]); - const hotRoutes = routes.slice(0, 10); + const hotRoutes = routes.slice(0, 50); let hotRoutesValue = ''; hotRoutes.forEach((item) => { hotRoutesValue += `${ctx.debug.routes[item]}  ${item}
`; }); const ips = Object.keys(ctx.debug.ips).sort((a, b) => ctx.debug.ips[b] - ctx.debug.ips[a]); - const hotIPs = ips.slice(0, 10); + const hotIPs = ips.slice(0, 50); let hotIPsValue = ''; hotIPs.forEach((item) => { hotIPsValue += `${ctx.debug.ips[item]}  ${item}
`;