diff --git a/app.js b/app.js index b8632a9..08c00d1 100644 --- a/app.js +++ b/app.js @@ -10,6 +10,8 @@ const { request: undiciRequest } = require('undici'); const GOTIFY_URL = 'https://gotify.zotv.ru/message'; // 例如: 'http://your-gotify-server.com/message' const GOTIFY_TOKEN = 'A1wFaeaj-VskqyF'; // 你的 Gotify 应用 Token +//测试一些gitea的webhook功能 + // 启动前检查配置是否齐全 if (!GOTIFY_URL || !GOTIFY_TOKEN) { console.error('错误:请设置 GOTIFY_URL 和 GOTIFY_TOKEN 环境变量!');