Skip to content

Commit

Permalink
Fix double endif in gitea.ini (#97)
Browse files Browse the repository at this point in the history
Removed the second one: text between if and endif is now all about lfs,
which seemed to be the point ;)
  • Loading branch information
wzzrd authored Apr 12, 2021
1 parent c5a0653 commit ed984bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/gitea.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ LFS_START_SERVER = true
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; LFS authentication secret
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }}
{% endif %}

LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; if the LFS sotre is not offline/local
LFS_JWT_SECRET = {{ gitea_lfs_secret }}
OFFLINE_MODE = {{ gitea_lfs_mode }}
{%- endif %}
{% endif %}
[database]
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
DB_TYPE = {{ gitea_db_type }}
Expand Down

0 comments on commit ed984bb

Please sign in to comment.