mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 01:49:37 -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 { SocksProxyAgent } from 'socks-proxy-agent';
|
||||
import { ProxyAgent } from 'undici';
|
||||
|
||||
type Proxy = {
|
||||
host: string;
|
||||
@ -81,4 +81,4 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP
|
||||
default:
|
||||
throw new Error(`Unsupported proxy protocol: ${protocol}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user