This commit is contained in:
AJ ONeal 2016-10-27 02:45:08 -06:00
parent ed47fb80b5
commit a9b7f55941
1 changed files with 1 additions and 1 deletions

View File

@ -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