forked from zaclys/searxng
[fix] /config add missing GIT_BRANCH value
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
771691e3b0
commit
8290f70e24
|
@ -82,7 +82,7 @@ from searx.utils import (
|
||||||
dict_subset,
|
dict_subset,
|
||||||
match_language,
|
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.query import RawTextQuery
|
||||||
from searx.plugins import plugins
|
from searx.plugins import plugins
|
||||||
from searx.plugins.oa_doi_rewrite import get_doi_resolver
|
from searx.plugins.oa_doi_rewrite import get_doi_resolver
|
||||||
|
@ -1319,6 +1319,7 @@ def config():
|
||||||
'brand': {
|
'brand': {
|
||||||
'CONTACT_URL': get_setting('general.contact_url'),
|
'CONTACT_URL': get_setting('general.contact_url'),
|
||||||
'GIT_URL': GIT_URL,
|
'GIT_URL': GIT_URL,
|
||||||
|
'GIT_BRANCH': GIT_BRANCH,
|
||||||
'DOCS_URL': get_setting('brand.docs_url'),
|
'DOCS_URL': get_setting('brand.docs_url'),
|
||||||
},
|
},
|
||||||
'doi_resolvers': list(settings['doi_resolvers'].keys()),
|
'doi_resolvers': list(settings['doi_resolvers'].keys()),
|
||||||
|
|
Loading…
Reference in New Issue