Fix Webhooks for Drone not working in Gitea 1.16

By default, only external requests are allowed:

https://github.com/go-gitea/gitea/pull/17482
This commit is contained in:
2022-02-12 10:53:45 -06:00
parent a2f1b7ccc6
commit 03c7940f1c
3 changed files with 13 additions and 1 deletions

View File

@@ -85,3 +85,8 @@ ALLOWED_TYPES = image/gif|image/jpeg|image/png|application/zip|application/gzip
MAX_SIZE = 10
; ; Max number of files per upload. Defaults to 5
MAX_FILES = 5
<% if c = @config["webhook"] %>
[webhook]
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>
<% end %>