Skip to content

Commit ed984bb

Browse files
authored
Fix double endif in gitea.ini (#97)
Removed the second one: text between if and endif is now all about lfs, which seemed to be the point ;)
1 parent c5a0653 commit ed984bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templates/gitea.ini.j2

+1-3
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,11 @@ LFS_START_SERVER = true
6060
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
6161
; LFS authentication secret
6262
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }}
63-
{% endif %}
64-
6563
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
6664
; if the LFS sotre is not offline/local
6765
LFS_JWT_SECRET = {{ gitea_lfs_secret }}
6866
OFFLINE_MODE = {{ gitea_lfs_mode }}
69-
{%- endif %}
67+
{% endif %}
7068
[database]
7169
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
7270
DB_TYPE = {{ gitea_db_type }}

0 commit comments

Comments
 (0)