From e94264cccac1ebf55140be10ab8f390be0454b36 Mon Sep 17 00:00:00 2001 From: Quinn Dirks Date: Thu, 9 Jun 2022 03:56:11 -0500 Subject: [PATCH] fix ui-external url --- packages/browser-sync-ui/lib/async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/browser-sync-ui/lib/async.js b/packages/browser-sync-ui/lib/async.js index c55c79cc6..24a19858c 100644 --- a/packages/browser-sync-ui/lib/async.js +++ b/packages/browser-sync-ui/lib/async.js @@ -69,7 +69,7 @@ module.exports = { }; if (bsUrls.external) { - var externalListen = listenHost || url.parse(bsUrls.external).hostname; + var externalListen = url.parse(bsUrls.external).hostname || listenHost; urls["ui-external"] = ["http://", externalListen, ":", port].join(""); }