From 6334fca11ca407c4c7875002956e749739f99129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Sun, 30 Oct 2016 15:47:49 +0100 Subject: [PATCH] add version info to config endpoint --- searx/webapp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 059283b16..d18288599 100644 --- 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)