From 8290f70e240e64687ca83932982a11518cbb377c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 18 Aug 2021 19:51:07 +0200 Subject: [PATCH] [fix] /config add missing GIT_BRANCH value Signed-off-by: Markus Heiser --- searx/webapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 0bf1a37f5..2daafeffa 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -82,7 +82,7 @@ from searx.utils import ( dict_subset, match_language, ) -from searx.version import VERSION_STRING, GIT_URL +from searx.version import VERSION_STRING, GIT_URL, GIT_BRANCH from searx.query import RawTextQuery from searx.plugins import plugins from searx.plugins.oa_doi_rewrite import get_doi_resolver @@ -1319,6 +1319,7 @@ def config(): 'brand': { 'CONTACT_URL': get_setting('general.contact_url'), 'GIT_URL': GIT_URL, + 'GIT_BRANCH': GIT_BRANCH, 'DOCS_URL': get_setting('brand.docs_url'), }, 'doi_resolvers': list(settings['doi_resolvers'].keys()),