1
0
Fork 0
forked from forgejo/forgejo

better naming on #891

This commit is contained in:
Unknwon 2015-02-11 12:04:01 -05:00
parent 485ea6f14f
commit d02e45f985
7 changed files with 11 additions and 11 deletions

View file

@ -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: