bun fetch dont support sock proxy :(

This commit is contained in:
Bojan Kucera 2025-06-06 23:08:54 -04:00
parent 5904af213f
commit 08bb21cee7
5 changed files with 89 additions and 77 deletions

View file

@ -170,6 +170,7 @@ export class HttpClient {
if (this.config.proxy) {
const agent = ProxyManager.createAgent(this.config.proxy);
(requestOptions as any).agent = agent;
console.log('Using proxy agent:', this.config.proxy);
}
// Make the request