mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
fix wrong transport
This commit is contained in:
parent
9aaa3e64d3
commit
b95582ae1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue