diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-07-07 09:27:34 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-07-07 09:27:34 +0200 |
commit | fbbb307f2e8086c88206b2f80ea7ed4ab5b80a66 (patch) | |
tree | b720f03f20d7f9c775f05f4bdc4b53488c84a003 | |
parent | 9f2faa62bffc32eda634f6f8e2c9c3eea67f1a32 (diff) | |
download | searxng-fbbb307f2e8086c88206b2f80ea7ed4ab5b80a66.tar.gz searxng-fbbb307f2e8086c88206b2f80ea7ed4ab5b80a66.zip |
[enh] add engine shortcut to config api
-rw-r--r-- | searx/webapp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 0fb2a1dfe..2093bb0b4 100644 --- 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, |