From 24250f82d854cfd12ead3df9682276f46feb63d9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 27 Oct 2016 02:20:32 -0600 Subject: [PATCH] run http on standard port 80 --- bin/serve-https.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/serve-https.js b/bin/serve-https.js index 153cf55..e2af24b 100755 --- a/bin/serve-https.js +++ b/bin/serve-https.js @@ -177,7 +177,7 @@ function createServer(port, pubdir, content, opts) { server2.watch(pubdir); } - if ('false' !== opts.insecurePort && httpPort !== opts.insecurePort) { + if ('false' !== opts.insecurePort && httpPort === opts.insecurePort) { return createInsecureServer(opts.insecurePort, pubdir, opts).then(function (_server) { insecureServer = _server; resolve();