remove tls skip verify, use os.Root for config reading

This commit is contained in:
2026-05-28 19:51:41 +00:00
parent f430589512
commit 64a018f1b5
2 changed files with 10 additions and 4 deletions
+1 -3
View File
@@ -32,9 +32,7 @@ type PVEProctype struct {
func NewClient(url string, token string, secret string) ProxmoxClient {
HTTPClient := http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
},
TLSClientConfig: &tls.Config{},
},
}