pass port number through parseInt

This commit is contained in:
Michael Bradley, Jr 2018-09-17 17:53:51 -05:00
parent 1b7aed8b80
commit c685432ea2
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class WebServer {
return;
}
this.port = parseInt(this.webServerConfig.port);
this._openBrowser = this.webServerConfig.openBrowser;
this.events.emit("status", __("Starting Server"));