[bugfix] 修复对于gitea webhook签名的检查失败问题

This commit is contained in:
jeffusion
2025-03-14 11:50:17 +08:00
parent e488ebc492
commit 0d09a951b2
5 changed files with 84 additions and 34 deletions

View File

@@ -9,4 +9,7 @@ OPENAI_MODEL=gpt-4o-mini
# 应用配置
PORT=3000
# 建议使用以下命令生成一个安全的随机字符串作为webhook密钥:
# 在Linux/Mac终端: openssl rand -hex 32
# 或者在Node.js中: require('crypto').randomBytes(32).toString('hex')
WEBHOOK_SECRET=your_webhook_secret