commit: 6334fca11ca407c4c7875002956e749739f99129
parent 1b9045ed899e1610959db76be66049ff80d2d41f
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date: Sun, 30 Oct 2016 15:47:49 +0100
add version info to config endpoint
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/searx/webapp.py b/searx/webapp.py
@@ -743,7 +743,8 @@ def config():
'default_locale': settings['ui']['default_locale'],
'autocomplete': settings['search']['autocomplete'],
'safe_search': settings['search']['safe_search'],
- 'default_theme': settings['ui']['default_theme']})
+ 'default_theme': settings['ui']['default_theme'],
+ 'version': VERSION_STRING})
@app.errorhandler(404)