diff --git a/internal/client/gateway/gateway.go b/internal/client/gateway/gateway.go index 99fccf5..530e96e 100644 --- a/internal/client/gateway/gateway.go +++ b/internal/client/gateway/gateway.go @@ -45,9 +45,9 @@ func init() { } tlsConfig = &tls.Config{ - RootCAs: certPool, - ServerName: config.Read().ServerName, - MinVersion: tls.VersionTLS12, + RootCAs: certPool, + ServerName: config.Read().ServerName, + MinVersion: tls.VersionTLS12, // This is fine, it's always false by default // The user may change the config, the name should be clear enough // that this is insecure (valid use cases are for testing purposes)