Remove httpNoProxy

This commit is contained in:
Alex Gleason committed 2025-12-28 18:22:12 -06:00
1 parent 74c0be9d5d
commit e5087e5ad6
1 file changed
+2 -7
+2 -7
View File
@@ -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,