mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
fix gosec
This commit is contained in:
parent
bf7056fd15
commit
68f10e4fc7
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user