mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
💚 #nosec
This commit is contained in:
parent
bb55c3354a
commit
ac3cfa162c
@ -80,9 +80,11 @@ func (n *Notification) Send(message string) error {
|
||||
verifySSL = true
|
||||
}
|
||||
|
||||
/* #nosec */
|
||||
transCfg := &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: verifySSL}, // #nosec
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: verifySSL},
|
||||
}
|
||||
|
||||
client := &http.Client{Transport: transCfg, Timeout: time.Minute * 10}
|
||||
|
||||
reqBody, err := n.reqBody(message)
|
||||
|
Loading…
Reference in New Issue
Block a user