From 722524120b53d470d3bf785db6408a34a5e147ef Mon Sep 17 00:00:00 2001 From: bhanuprasadcherukuvada Date: Fri, 1 Jul 2022 20:32:35 +0530 Subject: [PATCH] fix(server): remove localhost check for address --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }