diff options
author | Unknwon <u@gogs.io> | 2017-02-21 20:21:25 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-21 20:21:25 -0500 |
commit | 60aca9ea18f4fed6c98c83d41036f9a34fdbd28c (patch) | |
tree | 5fbf8009c9997678e4d9dedde80d98fd1e489cc8 /conf | |
parent | 6a8ad0b3574c3ab1f3a441493dc002b805b45a38 (diff) |
webhook: also only enable certain types (#3356)
Add new config option '[webhook] TYPES’.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 6e9d6883..1e66a758 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -181,6 +181,8 @@ ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false ENABLE_CAPTCHA = true [webhook] +; Types are enabled for users to use, can be "gogs", "slack", "discord" +TYPES = gogs, slack, discord ; Hook task queue length, increase if webhook shooting starts hanging QUEUE_LENGTH = 1000 ; Deliver timeout in seconds |