fix gosec (3

This commit is contained in:
naiba
2023-10-21 22:21:21 +08:00
parent 68f10e4fc7
commit a2e34bfc49
3 changed files with 3 additions and 5 deletions

View File

@@ -118,9 +118,7 @@ func (ns *NotificationServerBundle) Send(message string) error {
}
transCfg := &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: verifySSL, // #nosec G402
},
TLSClientConfig: &tls.Config{InsecureSkipVerify: verifySSL},
}
client := &http.Client{Transport: transCfg, Timeout: time.Minute * 10}