✨ 适配新版https-proxy-agent
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import HttpsProxyAgentOrig from 'https-proxy-agent'
|
||||
|
||||
export class HttpsProxyAgent extends HttpsProxyAgentOrig {
|
||||
export class HttpsProxyAgent extends HttpsProxyAgentOrig.HttpsProxyAgent {
|
||||
constructor (opts) {
|
||||
super(opts)
|
||||
this.tlsConnectionOptions = opts.tls
|
||||
|
||||
Reference in New Issue
Block a user