diff --git a/lib/server.js b/lib/server.js index 9ac34c9..a620645 100644 --- a/lib/server.js +++ b/lib/server.js @@ -104,7 +104,7 @@ const start = async function start() { address.hostname = address.address; // fix #131 - server address reported as 127.0.0.1 for localhost - if (address.hostname !== this.options.host && this.options.host === 'localhost') { + if (address.hostname !== this.options.host) { address.hostname = this.options.host; }