We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c30a963 + 456fde9 commit 54e1077Copy full SHA for 54e1077
bin/http-server
@@ -119,7 +119,7 @@ function listen(port) {
119
var server = httpServer.createServer(options);
120
server.listen(port, host, function () {
121
var canonicalHost = host === '0.0.0.0' ? '127.0.0.1' : host,
122
- protocol = ssl ? 'https:' : 'http:';
+ protocol = ssl ? 'https://' : 'http://';
123
124
logger.info(['Starting up http-server, serving '.yellow,
125
server.root.cyan,
0 commit comments