更新依赖,增强ASR功能,优化代理路由处理,添加登录页面渲染
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user