Skip to content

Commit

Permalink
fix(server): echo the hostname rather than listenAddress
Browse files Browse the repository at this point in the history
When these differ the hostname is clearer.
  • Loading branch information
johnjbarton committed Jun 11, 2020
1 parent 41fa9c0 commit fb22cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fb22cbc

Please sign in to comment.