mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 19:31:00 +00:00
Merge pull request #745 from kvch/version-info-in-config
add version info to config endpoint
This commit is contained in:
commit
b30bc5eeeb
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue