This commit is contained in:
Jeferson Ramos
2025-11-19 14:07:23 -03:00
parent 179af3f41c
commit 067f0999b5
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP
const auth = username && password ? `${username}:${password}@` : '';
proxyUrl = `${protocol}://${auth}${host}:${port}`;
};
}
const PROXY_HTTP_PROTOCOL = 'http';
const PROXY_HTTPS_PROTOCOL = 'https';
@@ -81,4 +81,4 @@ export function makeProxyAgentUndici(proxy: Proxy | string): ProxyAgent | SocksP
default:
throw new Error(`Unsupported proxy protocol: ${protocol}`);
}
}
}