mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-12 19:39:36 -06:00
lint
This commit is contained in:
parent
879bee962b
commit
5c58cb7eae
@ -28,7 +28,7 @@ function selectProxyAgent(proxyUrl: string): HttpsProxyAgent<string> | SocksProx
|
|||||||
case PROXY_SOCKS5_PROTOCOL: {
|
case PROXY_SOCKS5_PROTOCOL: {
|
||||||
let urlSocks = '';
|
let urlSocks = '';
|
||||||
|
|
||||||
if(url.username && url.password) {
|
if (url.username && url.password) {
|
||||||
urlSocks = `socks://${url.username}:${url.password}@${url.hostname}:${url.port}`;
|
urlSocks = `socks://${url.username}:${url.password}@${url.hostname}:${url.port}`;
|
||||||
} else {
|
} else {
|
||||||
urlSocks = `socks://${url.hostname}:${url.port}`;
|
urlSocks = `socks://${url.hostname}:${url.port}`;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user