diff --git a/bin/serve-https.js b/bin/serve-https.js index 21ae6b1..3d50308 100755 --- a/bin/serve-https.js +++ b/bin/serve-https.js @@ -178,7 +178,7 @@ function createServer(port, pubdir, content, opts) { } // if we haven't disabled insecure port - if ('false' === opts.insecurePort) { + if ('false' !== opts.insecurePort) { // and both ports are the default if ((httpsPort === opts.port && httpPort === opts.insecurePort) // or other case