remove proxy
This commit is contained in:
parent
336effb281
commit
f6c7f278d7
@ -164,9 +164,6 @@ func (this *RESTAPI) Run(ctx context.Context) (res *RESTAPIResult, err error) {
|
|||||||
|
|
||||||
client := &http.Client{
|
client := &http.Client{
|
||||||
Timeout: this.Timeout,
|
Timeout: this.Timeout,
|
||||||
Transport: &http.Transport{
|
|
||||||
Proxy: http.ProxyFromEnvironment,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uri, body, err := this.GenReqInfo()
|
uri, body, err := this.GenReqInfo()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user