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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user