Explorar el Código

Merge pull request #745 from kvch/version-info-in-config

add version info to config endpoint
Adam Tauber hace 8 años
padre
commit
b30bc5eeeb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      searx/webapp.py

+ 2
- 1
searx/webapp.py Ver fichero

@@ -743,7 +743,8 @@ def config():
743 743
                     'default_locale': settings['ui']['default_locale'],
744 744
                     'autocomplete': settings['search']['autocomplete'],
745 745
                     'safe_search': settings['search']['safe_search'],
746
-                    'default_theme': settings['ui']['default_theme']})
746
+                    'default_theme': settings['ui']['default_theme'],
747
+                    'version': VERSION_STRING})
747 748
 
748 749
 
749 750
 @app.errorhandler(404)