Update Gitea to 1.27.1
The webhooks allowed list was moved to the security part of the config file This is running on gitea-2
This commit is contained in:
@@ -62,6 +62,9 @@ FROM = <%= @email %>
|
||||
INTERNAL_TOKEN = <%= @internal_token %>
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = <%= @secret_key %>
|
||||
<% if c = @config["webhook"] %>
|
||||
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>
|
||||
<% end %>
|
||||
|
||||
[service]
|
||||
REGISTER_EMAIL_CONFIRM = false
|
||||
@@ -101,11 +104,6 @@ RUN_AT_START = false
|
||||
NOTICE_ON_SUCCESS = false
|
||||
SCHEDULE = @every 15m
|
||||
|
||||
<% if c = @config["webhook"] %>
|
||||
[webhook]
|
||||
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>
|
||||
<% end %>
|
||||
|
||||
<% if c = @config["storage"] %>
|
||||
[storage]
|
||||
<% if c["type"] == "minio" %>
|
||||
|
||||
Reference in New Issue
Block a user