Update medium_client.go

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