feat: support proxy from system env

This commit is contained in:
liwei committed 2024-05-01 18:35:32 +08:00
1 parent f8ea009fe9
commit 82b6ebd6f1
17 files changed
+175 -97

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ func buildConfigFetcher(proxyUrl *url.URL) fetcher.Fetcher {
}
return true
}
newController.ProxyUrl = proxyUrl
newController.ToUrl = proxyUrl
fetcher.Setup(newController)
return fetcher
}