fix gosec

This commit is contained in:
naiba 2023-10-21 22:11:55 +08:00
parent bf7056fd15
commit 68f10e4fc7

View File

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