update pkgs fix lightcode
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user