fix typo
This commit is contained in:
parent
ed47fb80b5
commit
a9b7f55941
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue