mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 21:43:32 +02:00
Merge pull request #61 from sylus/feature-proxy
fix(http): Add proxy transport
This commit is contained in:
@@ -57,6 +57,7 @@ func New(opts map[string]interface{}) *Cli {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
transport := &http.Transport{
|
transport := &http.Transport{
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
TLSClientConfig: &tls.Config{},
|
TLSClientConfig: &tls.Config{},
|
||||||
}
|
}
|
||||||
if insecureSkipVerify, ok := opts["insecure"].(bool); ok {
|
if insecureSkipVerify, ok := opts["insecure"].(bool); ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user