Commit 4d648282 authored by Markus Heiser's avatar Markus Heiser

webapp.py: expose the brand variable in the /config URL.

E.g. helpful for searx-stats2
Signed-off-by: 's avatarMarkus Heiser <markus.heiser@darmarit.de>
parent ace7d30a
......@@ -996,6 +996,10 @@ def config():
'safe_search': settings['search']['safe_search'],
'default_theme': settings['ui']['default_theme'],
'version': VERSION_STRING,
'brand': {
'GIT_URL': brand.GIT_URL,
'DOCS_URL': brand.DOCS_URL
},
'doi_resolvers': [r for r in settings['doi_resolvers']],
'default_doi_resolver': settings['default_doi_resolver'],
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment