This commit is contained in:
shamoon 2025-05-09 01:14:02 -07:00
parent 8f25bf5427
commit 8ba3cae921
No known key found for this signature in database

View File

@ -117,6 +117,7 @@ export async function httpProxy(url, params = {}) {
let agent;
if (proxyUrl) {
agent = constructedUrl.protocol === "https:" ? new HttpsProxyAgent(proxyUrl) : new HttpProxyAgent(proxyUrl);
logger.debug("Using proxy for request to %s: %s", constructedUrl.href, proxyUrl);
} else {
agent =
constructedUrl.protocol === "https:"