We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 067f099 commit d3e3c45Copy full SHA for d3e3c45
src/utils/makeProxyAgent.ts
@@ -1,6 +1,6 @@
1
-import { ProxyAgent } from 'undici';
2
import { HttpsProxyAgent } from 'https-proxy-agent';
3
import { SocksProxyAgent } from 'socks-proxy-agent';
+import { ProxyAgent } from 'undici';
4
5
type Proxy = {
6
host: string;
@@ -81,4 +81,4 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP
81
default:
82
throw new Error(`Unsupported proxy protocol: ${protocol}`);
83
}
84
-}
+}
0 commit comments