1
0
Fork 0
forked from forgejo/forgejo

new create webhook UI

This commit is contained in:
Unknwon 2015-08-27 00:30:06 +08:00
parent 2881456421
commit 4217c2333c
21 changed files with 307 additions and 273 deletions

View file

@ -81,6 +81,7 @@ var (
QueueLength int
DeliverTimeout int
SkipTLSVerify bool
Types []string
}
// Repository settings.
@ -599,6 +600,7 @@ func newWebhookService() {
Webhook.QueueLength = sec.Key("QUEUE_LENGTH").MustInt(1000)
Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5)
Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool()
Webhook.Types = []string{"gogs", "slack"}
}
func NewServices() {