Skip to content

Commit

Permalink
fix: correct configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jun 1, 2020
1 parent cca3ec3 commit 6216bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Agent {
//
// eslint-disable-next-line no-process-env
if (typeof process.env.NODE_TLS_REJECT_UNAUTHORIZED === 'string' && boolean(process.env.NODE_TLS_REJECT_UNAUTHORIZED) === false) {
connectionConfiguration.tls = false;
connectionConfiguration.tls.rejectUnauthorized = false;
}
}

Expand Down

0 comments on commit 6216bf5

Please sign in to comment.