commit: fbbb307f2e8086c88206b2f80ea7ed4ab5b80a66
parent: 9f2faa62bffc32eda634f6f8e2c9c3eea67f1a32
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 7 Jul 2016 09:27:34 +0200
[enh] add engine shortcut to config api
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/searx/webapp.py b/searx/webapp.py
@@ -693,6 +693,7 @@ def config():
return jsonify({'categories': categories.keys(),
'engines': [{'name': engine_name,
'categories': engine.categories,
+ 'shortcut': engine.shortcut,
'enabled': not engine.disabled}
for engine_name, engine in engines.items()],
'plugins': [{'name': plugin.name,