1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 02:40:11 +01:00

add version info to config endpoint

This commit is contained in:
Noémi Ványi 2016-10-30 15:47:49 +01:00
parent 1b9045ed89
commit 6334fca11c

View File

@ -743,7 +743,8 @@ def config():
'default_locale': settings['ui']['default_locale'], 'default_locale': settings['ui']['default_locale'],
'autocomplete': settings['search']['autocomplete'], 'autocomplete': settings['search']['autocomplete'],
'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})
@app.errorhandler(404) @app.errorhandler(404)