From d416ebad0f5d400ccb6c818e5354e5eaa144a09a Mon Sep 17 00:00:00 2001 From: mycodedoesnotcompile2 <149587341+mycodedoesnotcompile2@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:28:35 +0000 Subject: [PATCH] Update medium_client.go --- pkg/client/medium_client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/client/medium_client.go b/pkg/client/medium_client.go index 29a100c..80258b0 100644 --- a/pkg/client/medium_client.go +++ b/pkg/client/medium_client.go @@ -48,10 +48,11 @@ 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) + } + log.Printf("Using proxy: %s", config.Conf.Proxy) } else { client := &http.Client{}