Skip to content

Commit

Permalink
Merge branch 'fix-ui-external-url'
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Dec 27, 2023
2 parents 8cdd322 + b107ba8 commit dc33c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser-sync-ui/lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -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("");
}

Expand Down

0 comments on commit dc33c0b

Please sign in to comment.