From c685432ea2d02783816b18d18b4b6ae1ee6707bf Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 17 Sep 2018 17:53:51 -0500 Subject: [PATCH] pass port number through parseInt --- lib/modules/webserver/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index 664d635f..8e547331 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -20,6 +20,7 @@ class WebServer { return; } + this.port = parseInt(this.webServerConfig.port); this._openBrowser = this.webServerConfig.openBrowser; this.events.emit("status", __("Starting Server"));