From 95fe376e093949363b469b64317a3400fe2e95d2 Mon Sep 17 00:00:00 2001 From: Ryan Sydnor Date: Sat, 7 Sep 2019 11:57:40 -0400 Subject: [PATCH] Include http server in botkit.webserver --- lib/CoreBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CoreBot.js b/lib/CoreBot.js index 8614d0438..46bd9be02 100755 --- a/lib/CoreBot.js +++ b/lib/CoreBot.js @@ -1585,7 +1585,7 @@ function Botkit(configuration) { })); botkit.webserver.use(express.static(static_dir)); - botkit.webserver.listen( + botkit.webserver.server = botkit.webserver.listen( botkit.config.port, botkit.config.hostname, function() {