mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-14 18:08:58 +08:00
11 lines
190 B
JavaScript
11 lines
190 B
JavaScript
const express = require('express');
|
|
|
|
module.exports = function (webhook) {
|
|
const app = express();
|
|
|
|
app.use(webhook);
|
|
app.get('/ping', (req, res) => res.end('PONG'));
|
|
|
|
return app;
|
|
};
|