bun fetch dont support sock proxy :(
This commit is contained in:
parent
5904af213f
commit
08bb21cee7
5 changed files with 89 additions and 77 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue