fix: cos use proxy

This commit is contained in:
Qu Xuan
2020-09-14 13:00:02 +08:00
parent f8b7d96c62
commit 0a5ee4ca67

View File

@@ -597,6 +597,9 @@ func (client *SQcloudClient) getCosClient(bucket *SBucket) (*cos.Client, error)
RequestBody: client.debug,
ResponseHeader: client.debug,
ResponseBody: client.debug,
Transport: &http.Transport{
Proxy: client.cpcfg.ProxyFunc,
},
},
},
},