feat: 将所有中间件名称从'admin-auth'更新为'auth-admin',以统一认证方式

This commit is contained in:
2026-03-06 02:45:29 +08:00
parent 327db1e09a
commit a563f3e0d6
14 changed files with 27 additions and 27 deletions

View File

@@ -7,7 +7,7 @@ app.route({
path: 'cnb',
key: 'list-repos',
description: '列出我的代码仓库',
middleware: ['admin-auth'],
middleware: ['auth-admin'],
metadata: {
tags: ['opencode'],
...createSkill({