fix wrong transport

This commit is contained in:
里見 灯花
2025-02-12 19:14:13 +08:00
committed by GitHub
parent 9aaa3e64d3
commit b95582ae1a
+1 -1
View File
@@ -24,7 +24,7 @@ func initGitHTTPClient(cfg *config.Config) {
IdleConnTimeout: 30 * time.Second,
}
if cfg.Outbound.Enabled {
initTransport(cfg, ctr)
initTransport(cfg, gtr)
}
gclient = &http.Client{
Transport: gtr,