💚 #nosec
This commit is contained in:
		
							parent
							
								
									bb55c3354a
								
							
						
					
					
						commit
						ac3cfa162c
					
				@ -80,9 +80,11 @@ func (n *Notification) Send(message string) error {
 | 
				
			|||||||
		verifySSL = true
 | 
							verifySSL = true
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/* #nosec */
 | 
				
			||||||
	transCfg := &http.Transport{
 | 
						transCfg := &http.Transport{
 | 
				
			||||||
		TLSClientConfig: &tls.Config{InsecureSkipVerify: verifySSL}, // #nosec
 | 
							TLSClientConfig: &tls.Config{InsecureSkipVerify: verifySSL},
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	client := &http.Client{Transport: transCfg, Timeout: time.Minute * 10}
 | 
						client := &http.Client{Transport: transCfg, Timeout: time.Minute * 10}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	reqBody, err := n.reqBody(message)
 | 
						reqBody, err := n.reqBody(message)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user