Skip to content

Commit 0f3e241

Browse files
authoredJul 16, 2021
Merge pull request #642 from skyward-luke/master
remove 0.0.0.0 overwriting
2 parents 33fe714 + 10b5ded commit 0f3e241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bin/http-server

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function listen(port) {
163163

164164
var server = httpServer.createServer(options);
165165
server.listen(port, host, function () {
166-
var canonicalHost = host === '0.0.0.0' ? '127.0.0.1' : host,
166+
var canonicalHost = host,
167167
protocol = ssl ? 'https://' : 'http://';
168168

169169
logger.info([colors.yellow('Starting up http-server, serving '),

0 commit comments

Comments
 (0)
Please sign in to comment.