diff --git a/src/utils/makeProxyAgent.ts b/src/utils/makeProxyAgent.ts index 03cc58cf..989fc95e 100644 --- a/src/utils/makeProxyAgent.ts +++ b/src/utils/makeProxyAgent.ts @@ -28,7 +28,7 @@ function selectProxyAgent(proxyUrl: string): HttpsProxyAgent | SocksProx case PROXY_SOCKS5_PROTOCOL: { let urlSocks = ''; - if(url.username && url.password) { + if (url.username && url.password) { urlSocks = `socks://${url.username}:${url.password}@${url.hostname}:${url.port}`; } else { urlSocks = `socks://${url.hostname}:${url.port}`;