forked from forgejo/forgejo
better naming on #891
This commit is contained in:
parent
485ea6f14f
commit
d02e45f985
7 changed files with 11 additions and 11 deletions
|
@ -315,7 +315,7 @@ func DeliverHooks() {
|
|||
req := httplib.Post(t.Url).SetTimeout(timeout, timeout).
|
||||
Header("X-Gogs-Delivery", t.Uuid).
|
||||
Header("X-Gogs-Event", string(t.EventType)).
|
||||
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.AllowInsecureCertification})
|
||||
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: setting.Webhook.SkipTLSVerify})
|
||||
|
||||
switch t.ContentType {
|
||||
case JSON:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue