更新版本号至 0.0.6,并注释掉请求 URL 的日志输出
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@kevisual/gitea",
|
"name": "@kevisual/gitea",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "bun run bun.config.ts"
|
"build": "bun run bun.config.ts"
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export class GiteaCore {
|
|||||||
if (!_headers.Authorization) {
|
if (!_headers.Authorization) {
|
||||||
delete _headers.Authorization;
|
delete _headers.Authorization;
|
||||||
}
|
}
|
||||||
console.log('Request URL:', url, data, _headers);
|
// console.log('Request URL:', url, data, _headers);
|
||||||
const response = await fetch(url || '', {
|
const response = await fetch(url || '', {
|
||||||
method,
|
method,
|
||||||
headers: _headers,
|
headers: _headers,
|
||||||
|
|||||||
Reference in New Issue
Block a user