Skip to content

Commit

Permalink
Merge pull request #7 from Kikobeats/next
Browse files Browse the repository at this point in the history
fix: ensure options.https is defined
  • Loading branch information
Kikobeats committed Jun 11, 2022
2 parents 2a688cd + 588e9b8 commit 0a4520e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { getHeader } = require('./src/headers')
const tls = require('.')

module.exports = options => {
const { https } = options
const https = options.https ?? {}

if (
https.ciphers ||
Expand Down

0 comments on commit 0a4520e

Please sign in to comment.