Node updated. Some todos.
This commit is contained in:
2
Scripts/node_modules/proxy-agent/dist/index.js
generated
vendored
2
Scripts/node_modules/proxy-agent/dist/index.js
generated
vendored
@ -97,7 +97,7 @@ class ProxyAgent extends agent_base_1.Agent {
|
||||
: 'http:';
|
||||
const host = req.getHeader('host');
|
||||
const url = new url_1.URL(req.path, `${protocol}//${host}`).href;
|
||||
const proxy = this.getProxyForUrl(url);
|
||||
const proxy = await this.getProxyForUrl(url);
|
||||
if (!proxy) {
|
||||
debug('Proxy not enabled for URL: %o', url);
|
||||
return secureEndpoint ? this.httpsAgent : this.httpAgent;
|
||||
|
||||
Reference in New Issue
Block a user