This commit is contained in:
Luis Fernando Molina committed 2020-09-10 22:43:30 +02:00
1 parent f5c06374e1
commit 45afa8ccfd
5 files changed
+13 -7

No files matched your search

+3 -3
View File
@@ -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.')