Skip to content

Commit 43e8682

Browse files
authored
improving [repository] and [repository.upload] section
add gitea_repository_upload_extra_config variable
1 parent 9b4e0a7 commit 43e8682

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/gitea.ini.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ FORCE_PRIVATE = {{ gitea_force_private | ternary('true', 'false') }}
1818
MAX_CREATION_LIMIT = {{ gitea_user_repo_limit }}
1919
DISABLE_HTTP_GIT = {{ gitea_disable_http_git | ternary('true', 'false') }}
2020
DEFAULT_BRANCH = {{ gitea_default_branch }}
21+
{{ gitea_repository_extra_config }}
22+
;
2123
[repository.upload]
2224
TEMP_PATH = {{ gitea_home }}/data/tmp/uploads
23-
{{ gitea_repository_extra_config }}
25+
{{ gitea_repository_upload_extra_config }}
2426
;
2527
;
2628
; -> https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui

0 commit comments

Comments
 (0)