Skip to content

Commit 2985845

Browse files
authored
Listen by default on all interfaces.
1 parent f3c4342 commit 2985845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/http-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function listen(port) {
127127
'\nAvailable on:'.yellow
128128
].join(''));
129129

130-
if (argv.a || host !== '0.0.0.0') {
130+
if (host === '0.0.0.0') {
131131
logger.info((' ' + protocol + canonicalHost + ':' + port.toString()).green);
132132
}
133133
else {

0 commit comments

Comments
 (0)