diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-10-30 15:47:49 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-10-30 15:58:34 +0100 |
commit | 6334fca11ca407c4c7875002956e749739f99129 (patch) | |
tree | d28b4c6852fe4a2237b4d03896fc05e26d9c965b /searx/webapp.py | |
parent | 1b9045ed899e1610959db76be66049ff80d2d41f (diff) | |
download | searxng-6334fca11ca407c4c7875002956e749739f99129.tar.gz searxng-6334fca11ca407c4c7875002956e749739f99129.zip |
add version info to config endpoint
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |