Update medium_client.go

This commit is contained in:
mycodedoesnotcompile2 authored and GitHub committed 2025-12-13 12:28:35 +00:00
1 parent 93f30a5a9a
commit d416ebad0f
1 file changed
+2 -1
+2 -1
View File
@@ -48,7 +48,8 @@ func PostData(postId string) (*entities.MediumResponse, error) {
Transport: &http.Transport{ Transport: &http.Transport{
Proxy: http.ProxyURL(proxyURL), Proxy: http.ProxyURL(proxyURL),
TLSClientConfig: &tls.Config{ TLSClientConfig: &tls.Config{
InsecureSkipVerify: true, // Skip TLS verification }, InsecureSkipVerify: true,
},
} }
} }
log.Printf("Using proxy: %s", config.Conf.Proxy) log.Printf("Using proxy: %s", config.Conf.Proxy)