Skip to content

Commit

Permalink
Update code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Malogulko committed Sep 28, 2020
1 parent dfbf2f7 commit 1b1e59c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions content-by-language/node/outbound-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ const fs = require('fs');
const url = require('url');
const fetch = require('node-fetch');
const HttpsProxyAgent = require('https-proxy-agent');
/**
* NODE_TLS_REJECT_UNAUTHORIZED used to allow self signed certificate
* setting it to 0 on live environments is insecure
*/
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
const urlParams = url.parse('http://{ACCESS_CREDENTIALS}@{VAULT_HOST}:{PORT}');
const agent = new HttpsProxyAgent({
...urlParams,
Expand Down

0 comments on commit 1b1e59c

Please sign in to comment.