From c846c2208be10aac1e3a25f61da7830350cadc76 Mon Sep 17 00:00:00 2001 From: claw6148 Date: Fri, 23 Aug 2019 12:50:04 +0800 Subject: [PATCH] fix connection timeout in wrong requests --- lib/webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webhook.js b/lib/webhook.js index 2819e51..65159a4 100644 --- a/lib/webhook.js +++ b/lib/webhook.js @@ -49,7 +49,7 @@ module.exports = (bot, opt) => { }); - } + } else res.end(); }