mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-11-24 09:54:22 +00:00
Update medium_client.go
This commit is contained in:
1 parent
93f30a5a9a
commit
d416ebad0f
1 file changed
+2
-1
@@ -48,7 +48,8 @@ func PostData(postId string) (*entities.MediumResponse, error) {
|
||||
Transport: &http.Transport{
|
||||
Proxy: http.ProxyURL(proxyURL),
|
||||
TLSClientConfig: &tls.Config{
|
||||
InsecureSkipVerify: true, // Skip TLS verification },
|
||||
InsecureSkipVerify: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
log.Printf("Using proxy: %s", config.Conf.Proxy)
|
||||
|
||||
Reference in new issue
Block a user