pass port number through parseInt
This commit is contained in:
parent
1b7aed8b80
commit
c685432ea2
|
@ -20,6 +20,7 @@ class WebServer {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.port = parseInt(this.webServerConfig.port);
|
||||||
this._openBrowser = this.webServerConfig.openBrowser;
|
this._openBrowser = this.webServerConfig.openBrowser;
|
||||||
|
|
||||||
this.events.emit("status", __("Starting Server"));
|
this.events.emit("status", __("Starting Server"));
|
||||||
|
|
Loading…
Reference in New Issue