Setting host and port parameters back according to develop branch

This commit is contained in:
Andy Nogueira 2017-03-08 09:51:58 -05:00
parent 82042c01c6
commit f5aafa4242

View File

@ -98,8 +98,8 @@ ServicesMonitor.prototype.check = function() {
});
},
function checkDevServer(result, callback) {
var host = self.config.webServerConfig.host || self.serverHost;
var port = self.config.webServerConfig.port || self.serverPort;
var host = self.serverHost || self.config.webServerConfig.host;
var port = self.serverPort || self.config.webServerConfig.port;
self.logger.trace('checkDevServer');
var devServer = 'Webserver (http://' + host + ':' + port + ')';
devServer = (self.runWebserver) ? devServer.green : devServer.red;