From e5087e5ad68928bcb3e6cec68b44dd1f05e6bbed Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 28 Dec 2025 18:22:12 -0600 Subject: [PATCH] Remove httpNoProxy --- src/lib/git.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/git.ts b/src/lib/git.ts index 11b1f98d..907acce6 100644 --- a/src/lib/git.ts +++ b/src/lib/git.ts @@ -61,11 +61,6 @@ export class Git { } } - // Get HTTP adapter without proxy - private get httpNoProxy(): HttpClient { - return new GitHttp(undefined, this.customFetch); - } - // Get HTTP adapter for the given URL private httpForUrl(url: string | null | undefined): HttpClient { if (!url || url.startsWith('nostr://')) { @@ -811,7 +806,7 @@ export class Git { git.fetch({ ...options, fs: this.fs, - http: this.httpNoProxy, + http: this.httpForUrl(url), url, remote, }), @@ -997,7 +992,7 @@ export class Git { git.push({ ...options, fs: this.fs, - http: this.httpNoProxy, + http: this.httpForUrl(url), onAuth: this.onAuth, url, dir,