Update webServer.js
This commit is contained in:
1 parent
fb0436f516
commit
b06de5d54b
1 file changed
+3
-3
+3
-3
@@ -44,10 +44,10 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
|
||||
gWebServer = http.createServer(onBrowserRequest).listen(port)
|
||||
isHttpServerStarted = true
|
||||
/* Starting the browser now is optional */
|
||||
if (process.argv[4] !== 'noBrowser') {
|
||||
open('http://localhost:' + port)
|
||||
} else {
|
||||
if (process.argv.includes("noBrowser")) {
|
||||
console.log('Running Backend only with no UI.')
|
||||
} else {
|
||||
open('http://localhost:' + port)
|
||||
}
|
||||
|
||||
console.log('Web Server Started.')
|
||||
|
||||
Reference in new issue
Block a user