gosec

This commit is contained in:
naiba
2021-09-04 12:42:51 +08:00
parent 67faa7a63d
commit e40026f6cc
8 changed files with 13 additions and 14 deletions

View File

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