feat: 更新端口默认值为51515,添加useKey以获取默认仓库ID,更新创建文件描述信息
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { createSkill, tool } from '@kevisual/router';
|
||||
import { app, cnb } from '../../app.ts';
|
||||
import { useKey } from '@kevisual/context';
|
||||
|
||||
// 查询 Issue 列表 repo是 kevisual/kevisual
|
||||
app.route({
|
||||
@@ -25,7 +26,7 @@ app.route({
|
||||
})
|
||||
}
|
||||
}).define(async (ctx) => {
|
||||
const repo = ctx.query?.repo;
|
||||
const repo = ctx.query?.repo || useKey('CNB_REPO_SLUG_LOWERCASE');
|
||||
const state = ctx.query?.state;
|
||||
const keyword = ctx.query?.keyword;
|
||||
const labels = ctx.query?.labels;
|
||||
|
||||
Reference in New Issue
Block a user