Browse Source

print msg

master
Cailean Finn 6 months ago
parent
commit
bdcf6d06b2
  1. 1
      server.js

1
server.js

@ -59,6 +59,7 @@ app.get('/articles/:articleName', (req, res) => {
// Webhook handler // Webhook handler
app.post('/api', (req, res) => { app.post('/api', (req, res) => {
console.log('hit!');
const signature = req.headers['x-gitea-signature']; const signature = req.headers['x-gitea-signature'];
const payload = JSON.stringify(req.body); const payload = JSON.stringify(req.body);

Loading…
Cancel
Save