We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f43c9 commit df39f60Copy full SHA for df39f60
lib/http-server.js
@@ -173,7 +173,7 @@ function HttpServer(options) {
173
serverOptions.https = options.https;
174
}
175
176
- this.server = options.https.passphrase
+ this.server = serverOptions.https && serverOptions.https.passphrase
177
// if passphrase is set, shim must be used as union does not support
178
? require('./shims/https-server-shim')(serverOptions)
179
: union.createServer(serverOptions);
0 commit comments