mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
style(): removing strictSSL option from subsequent calls
This commit is contained in:
parent
f0fef44885
commit
4e5e7cc89b
1 changed files with 1 additions and 5 deletions
|
@ -131,7 +131,6 @@ class ProxyStorage implements IProxy {
|
||||||
method: method,
|
method: method,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
uri: uri,
|
uri: uri,
|
||||||
strictSSL: this.strict_ssl
|
|
||||||
}, 'making request: \'@{method} @{uri}\'');
|
}, 'making request: \'@{method} @{uri}\'');
|
||||||
|
|
||||||
if (isObject(options.json)) {
|
if (isObject(options.json)) {
|
||||||
|
@ -206,7 +205,7 @@ class ProxyStorage implements IProxy {
|
||||||
encoding: null,
|
encoding: null,
|
||||||
gzip: true,
|
gzip: true,
|
||||||
timeout: this.timeout,
|
timeout: this.timeout,
|
||||||
strictSSL: this.strict_ssl
|
strictSSL: this.strict_ssl,
|
||||||
}, requestCallback);
|
}, requestCallback);
|
||||||
|
|
||||||
let statusCalled = false;
|
let statusCalled = false;
|
||||||
|
@ -391,7 +390,6 @@ class ProxyStorage implements IProxy {
|
||||||
json: true,
|
json: true,
|
||||||
headers: headers,
|
headers: headers,
|
||||||
req: options.req,
|
req: options.req,
|
||||||
strictSSL: this.strict_ssl
|
|
||||||
}, (err, res, body) => {
|
}, (err, res, body) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
@ -423,7 +421,6 @@ class ProxyStorage implements IProxy {
|
||||||
const readStream = this.request({
|
const readStream = this.request({
|
||||||
uri_full: url,
|
uri_full: url,
|
||||||
encoding: null,
|
encoding: null,
|
||||||
strictSSL: this.strict_ssl,
|
|
||||||
headers: {
|
headers: {
|
||||||
Accept: contenTypeAccept,
|
Accept: contenTypeAccept,
|
||||||
},
|
},
|
||||||
|
@ -471,7 +468,6 @@ class ProxyStorage implements IProxy {
|
||||||
const requestStream: stream$Readable = this.request({
|
const requestStream: stream$Readable = this.request({
|
||||||
uri: options.req.url,
|
uri: options.req.url,
|
||||||
req: options.req,
|
req: options.req,
|
||||||
strictSSL: this.strict_ssl,
|
|
||||||
headers: {
|
headers: {
|
||||||
referer: options.req.headers.referer,
|
referer: options.req.headers.referer,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue