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 ;)
This commit is contained in:
Maxim Burgerhout 2021-04-12 19:11:57 +02:00 committed by GitHub
parent c5a0653264
commit ed984bb95a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,13 +60,11 @@ LFS_START_SERVER = true
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }} LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; LFS authentication secret ; LFS authentication secret
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }} LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret }}
{% endif %}
LFS_CONTENT_PATH = {{ gitea_lfs_content_path }} LFS_CONTENT_PATH = {{ gitea_lfs_content_path }}
; if the LFS sotre is not offline/local ; if the LFS sotre is not offline/local
LFS_JWT_SECRET = {{ gitea_lfs_secret }} LFS_JWT_SECRET = {{ gitea_lfs_secret }}
OFFLINE_MODE = {{ gitea_lfs_mode }} OFFLINE_MODE = {{ gitea_lfs_mode }}
{%- endif %} {% endif %}
[database] [database]
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
DB_TYPE = {{ gitea_db_type }} DB_TYPE = {{ gitea_db_type }}