更新版本号至0.0.21,注释掉调试日志并为Workspace类的branch参数设置默认值为'main'

This commit is contained in:
2026-02-09 02:06:01 +08:00
parent 02a4b86338
commit a1339014a3
3 changed files with 5 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ export class CNBCore {
}
delete _headers.Authorization;
}
console.log('Request URL:', url, data, _headers);
// console.log('Request URL:', url, data, _headers);
const response = await fetch(url || '', {
method,
headers: _headers,
@@ -115,7 +115,7 @@ export class CNBCore {
if (url && url.startsWith('http')) {
return url;
}
console.log('url', url, this.baseURL)
// console.log('url', url, this.baseURL)
if (url.startsWith('/')) {
return this.baseURL + url;
}