Skip to content

Commit 54e1077

Browse files
committed
Merge pull request http-party#220 from sgnl/fix-url-output-fordward-slashes
Resolves http-party#219
2 parents c30a963 + 456fde9 commit 54e1077

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
@@ -119,7 +119,7 @@ function listen(port) {
119119
var server = httpServer.createServer(options);
120120
server.listen(port, host, function () {
121121
var canonicalHost = host === '0.0.0.0' ? '127.0.0.1' : host,
122-
protocol = ssl ? 'https:' : 'http:';
122+
protocol = ssl ? 'https://' : 'http://';
123123

124124
logger.info(['Starting up http-server, serving '.yellow,
125125
server.root.cyan,

0 commit comments

Comments
 (0)