From 3311307edddfcc6c5667ff32488b29112bd610d4 Mon Sep 17 00:00:00 2001 From: Cailean Finn Date: Tue, 18 Jun 2024 21:04:58 +0100 Subject: [PATCH] check secret --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 4598b8d..c59c496 100644 --- a/server.js +++ b/server.js @@ -60,6 +60,7 @@ app.get('/articles/:articleName', (req, res) => { // Webhook handler app.post('/api', (req, res) => { console.log('hit!'); + console.log('GITEA_SECRET:', process.env.GITEA_SECRET); const signature = req.headers['x-gitea-signature']; const payload = JSON.stringify(req.body);