Skip to content

Commit e94264c

Browse files
committed
fix ui-external url
1 parent f6965a6 commit e94264c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/browser-sync-ui/lib/async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = {
6969
};
7070

7171
if (bsUrls.external) {
72-
var externalListen = listenHost || url.parse(bsUrls.external).hostname;
72+
var externalListen = url.parse(bsUrls.external).hostname || listenHost;
7373
urls["ui-external"] = ["http://", externalListen, ":", port].join("");
7474
}
7575

0 commit comments

Comments
 (0)