gitea: fix broken webhooks

This commit is contained in:
Michele Guerini Rocco 2022-10-05 02:30:55 +02:00
parent 167e4e9a5b
commit 267b6c6d39
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -246,10 +246,21 @@
cookieSecure = true; cookieSecure = true;
disableRegistration = false; disableRegistration = false;
settings = { settings = {
# increase cookie expiration time
security.LOGIN_REMEMBER_DAYS = 365; security.LOGIN_REMEMBER_DAYS = 365;
attachment.MAX_SIZE = 10; # file upload size (MB)
# file upload size (MB)
attachment.MAX_SIZE = 10;
# new users can only create PR/issues
service.DEFAULT_ALLOW_CREATE_ORGANIZATION = false; service.DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
repository.MAX_CREATION_LIMIT = 0;
# somewhat limit spam
service.EMAIL_DOMAIN_BLOCKLIST = "gmail.com"; service.EMAIL_DOMAIN_BLOCKLIST = "gmail.com";
# allow the notify webhook to use matrix
webhook.ALLOWED_HOST_LIST = "maxwell.ydns.eu";
}; };
}; };