From ed984bb95a5e5d00ea911c0efb5212d02613cfdb Mon Sep 17 00:00:00 2001 From: Maxim Burgerhout Date: Mon, 12 Apr 2021 19:11:57 +0200 Subject: [PATCH] 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 ;) --- templates/gitea.ini.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index 06ead1a..11e06c0 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -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 }}