forked from zaclys/searxng
webapp.py: expose the brand variable in the /config URL.
E.g. helpful for searx-stats2 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
ace7d30aed
commit
4d64828237
|
@ -996,6 +996,10 @@ def config():
|
||||||
'safe_search': settings['search']['safe_search'],
|
'safe_search': settings['search']['safe_search'],
|
||||||
'default_theme': settings['ui']['default_theme'],
|
'default_theme': settings['ui']['default_theme'],
|
||||||
'version': VERSION_STRING,
|
'version': VERSION_STRING,
|
||||||
|
'brand': {
|
||||||
|
'GIT_URL': brand.GIT_URL,
|
||||||
|
'DOCS_URL': brand.DOCS_URL
|
||||||
|
},
|
||||||
'doi_resolvers': [r for r in settings['doi_resolvers']],
|
'doi_resolvers': [r for r in settings['doi_resolvers']],
|
||||||
'default_doi_resolver': settings['default_doi_resolver'],
|
'default_doi_resolver': settings['default_doi_resolver'],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue