add [repository.upload] support to the configuration

Note: Requires updates to config file so add this to the release notes.
This commit is contained in:
cas
2023-12-07 18:01:05 -08:00
parent 464c890afb
commit 9d44d9e61c
4 changed files with 18 additions and 1 deletions
+7
View File
@@ -24,6 +24,13 @@ ENABLE_OPENID_SIGNUP = {{ env "GITEA_ENABLE_OPENID_SIGNUP" }}
[repository]
DEFAULT_BRANCH = main
[repository.upload]
ENABLED = {{ env "GITEA_REPO_UPLOAD_ENABLED" }}
ALLOWED_TYPES = {{ env "GITEA_REPO_UPLOAD_ALLOWED_TYPES" }}
FILE_MAX_SIZE = {{ env "GITEA_REPO_UPLOAD_MAX_SIZE" }}
MAX_FILES = {{ env "GITEA_REPO_UPLOAD_MAX_FILES" }}
[indexer]
STARTUP_TIMEOUT = 0