diff --git a/src/utils/proxy/http.js b/src/utils/proxy/http.js index 875bfb4c..3743515b 100644 --- a/src/utils/proxy/http.js +++ b/src/utils/proxy/http.js @@ -89,15 +89,12 @@ export async function httpProxy(url, params = {}) { request = httpsRequest(constructedUrl, { agent: new https.Agent({ rejectUnauthorized: false, - autoSelectFamily: true, }), ...params, }); } else { request = httpRequest(constructedUrl, { - agent: new http.Agent({ - autoSelectFamily: true, - }), + agent: new http.Agent(), ...params, }); }