mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-10 18:39:38 -06:00
lint
This commit is contained in:
parent
067f0999b5
commit
d3e3c458a0
@ -1,6 +1,6 @@
|
|||||||
import { ProxyAgent } from 'undici';
|
|
||||||
import { HttpsProxyAgent } from 'https-proxy-agent';
|
import { HttpsProxyAgent } from 'https-proxy-agent';
|
||||||
import { SocksProxyAgent } from 'socks-proxy-agent';
|
import { SocksProxyAgent } from 'socks-proxy-agent';
|
||||||
|
import { ProxyAgent } from 'undici';
|
||||||
|
|
||||||
type Proxy = {
|
type Proxy = {
|
||||||
host: string;
|
host: string;
|
||||||
@ -81,4 +81,4 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP
|
|||||||
default:
|
default:
|
||||||
throw new Error(`Unsupported proxy protocol: ${protocol}`);
|
throw new Error(`Unsupported proxy protocol: ${protocol}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user