added root ok
nclazz/gitea-bot/pipeline/head This commit looks good
Details
nclazz/gitea-bot/pipeline/head This commit looks good
Details
parent
cfe7bbfc1c
commit
7603cd79ec
|
@ -10,6 +10,10 @@ app.use(bodyParser.json())
|
|||
|
||||
const port = process.env.SERVER_PORT || 8080
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.status(200).send('OK')
|
||||
})
|
||||
|
||||
app.post('/webhook', async (req, res) => {
|
||||
const selectedHooks = []
|
||||
if(req.query['hooks']) {
|
||||
|
|
Loading…
Reference in New Issue