summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-08-18 20:04:26 +0200
committerGitHub <noreply@github.com>2021-08-18 20:04:26 +0200
commit6844e3a61720d5dfcda82f0e4812ed8434e8b2be (patch)
tree905aa4288dc7844dcbf962a23ab3943e9a93e0df
parent771691e3b0536e2fa911d39be04c561c462aadd4 (diff)
parent8290f70e240e64687ca83932982a11518cbb377c (diff)
Merge pull request #263 from return42/fix-config
[fix] /config add missing GIT_BRANCH value
-rwxr-xr-xsearx/webapp.py3
1 files changed, 2 insertions, 1 deletions
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()),