Signed-off-by: Li Yuanchao lyc163mail@163.com --- container/webhook/root/webhook.js | 2 -- 1 file changed, 2 deletions(-)
diff --git a/container/webhook/root/webhook.js b/container/webhook/root/webhook.js index a98576c..4639e14 100755 --- a/container/webhook/root/webhook.js +++ b/container/webhook/root/webhook.js @@ -1,8 +1,6 @@ const http = require('http') const spawn = require('child_process').spawn const createHandler = require('git-webhook-handler') -// if users want to use webhook, they need to config webhook on their code warehouse('gitee.com' or 'github.com'), -// and use url: http://183.134.196.212:11301/webhook, secret: webhook@git. const handler = createHandler({ path: '/webhook', secret: 'webhook@git' })
handler.on('error', function(err){