From fb22cbc0163a141fc57b391f5305b6ab7a14fad9 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Thu, 11 Jun 2020 15:57:00 -0700 Subject: [PATCH] fix(server): echo the hostname rather than listenAddress When these differ the hostname is clearer. --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index e79a2aa22..597404ce0 100644 --- a/lib/server.js +++ b/lib/server.js @@ -177,7 +177,7 @@ class Server extends KarmaEventEmitter { } webServer.listen(this._boundServer, () => { - this.log.info(`Karma v${constant.VERSION} server started at ${config.protocol}//${config.listenAddress}:${config.port}${config.urlRoot}`) + this.log.info(`Karma v${constant.VERSION} server started at ${config.protocol}//${config.hostname}:${config.port}${config.urlRoot}`) this.emit('listening', config.port) if (config.browsers && config.browsers.length) {