req
This commit is contained in:
@@ -59,8 +59,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);
|
||||
console.log(req)
|
||||
const signature = req.headers['x-gitea-signature'];
|
||||
const payload = JSON.stringify(req.body);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user