feat: 更新端口默认值为51515,添加useKey以获取默认仓库ID,更新创建文件描述信息

This commit is contained in:
2026-03-06 02:39:45 +08:00
parent 841ed6ffa7
commit 8465ba7182
4 changed files with 7 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ app.route({
app.route({
path: 'cnb',
key: 'create-repo-file',
description: '在代码仓库中创建文件, repoName, filePath, content, encoding',
description: '在代码仓库中创建文件, repoName, filePath, content, encoding。使用CNB_COOKIE进行鉴权',
middleware: ['admin-auth'],
metadata: {
tags: ['opencode'],