diff options
author | Stefan-Code <Stefan-Code@users.noreply.github.com> | 2015-02-18 11:12:41 +0100 |
---|---|---|
committer | Stefan-Code <Stefan-Code@users.noreply.github.com> | 2015-02-18 11:12:41 +0100 |
commit | b508fb041ff83919eff6618a62658288745a2c1b (patch) | |
tree | 7fb4a602afe87800e7f24957d9702ce38bbea643 /models/webhook.go | |
parent | 1628ef4ba5120d338c0616e37153f9f9b2f8f236 (diff) | |
parent | a307574fbcb58bed41017fb2262852327cf050d0 (diff) |
Merge branch 'dev' of https://github.com/gogits/gogs into dev
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook.go b/models/webhook.go index 34349bb5..96af0b69 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -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: |