Skip to content

Commit

Permalink
Merge pull request #642 from skyward-luke/master
Browse files Browse the repository at this point in the history
remove 0.0.0.0 overwriting
  • Loading branch information
thornjad committed Jul 16, 2021
2 parents 33fe714 + 10b5ded commit 0f3e241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/http-server
Expand Up @@ -163,7 +163,7 @@ function listen(port) {

var server = httpServer.createServer(options);
server.listen(port, host, function () {
var canonicalHost = host === '0.0.0.0' ? '127.0.0.1' : host,
var canonicalHost = host,
protocol = ssl ? 'https://' : 'http://';

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

0 comments on commit 0f3e241

Please sign in to comment.