更新依赖,增强ASR功能,优化代理路由处理,添加登录页面渲染

This commit is contained in:
2026-01-15 12:42:37 +08:00
parent 2011ea818c
commit a5ce44ba70
9 changed files with 188 additions and 82 deletions

View File

@@ -68,6 +68,9 @@ app.route({
key: 'list',
description: '获取路由列表',
}).define(async (ctx) => {
const list = ctx.app.getList()
const list = ctx.app.getList((item) => {
if (item.id === 'auth') return false;
return true;
})
ctx.body = { list }
}).addTo(app);