update pkgs fix lightcode

This commit is contained in:
2026-01-26 01:13:47 +08:00
parent 2ccda9f008
commit 48dafc6040
11 changed files with 470 additions and 433 deletions

View File

@@ -53,7 +53,7 @@ app.route({
description: '获取路由列表',
}).define(async (ctx) => {
const list = ctx.app.getList((item) => {
if (item.id === 'auth') return false;
if (item?.path?.includes('auth') || item?.id?.includes('auth')) return false;
return true;
})
ctx.body = { list }