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.
https: null
https: undefined
1 parent 19f7fb1 commit 1fda184Copy full SHA for 1fda184
packages/server/src/listener.js
@@ -63,7 +63,7 @@ export default class Listener {
63
64
// Initialize underlying http(s) server
65
const protocol = this.https ? https : http
66
- const protocolOpts = typeof this.https === 'object' ? [this.https] : []
+ const protocolOpts = this.https ? [this.https] : []
67
this._server = protocol.createServer.apply(protocol, protocolOpts.concat(this.app))
68
69
// Call server.listen
0 commit comments