Skip to content

Commit 1fda184

Browse files
aldarundpi0
authored andcommitted
fix(server): treat https: null as https: undefined (nuxt#6265)
1 parent 19f7fb1 commit 1fda184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/listener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class Listener {
6363

6464
// Initialize underlying http(s) server
6565
const protocol = this.https ? https : http
66-
const protocolOpts = typeof this.https === 'object' ? [this.https] : []
66+
const protocolOpts = this.https ? [this.https] : []
6767
this._server = protocol.createServer.apply(protocol, protocolOpts.concat(this.app))
6868

6969
// Call server.listen

0 commit comments

Comments
 (0)