Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Include http server in botkit.webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansydnor committed Sep 7, 2019
1 parent c07785d commit 95fe376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CoreBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 95fe376

Please sign in to comment.