mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[enh] add engine shortcut to config api
This commit is contained in:
		
							parent
							
								
									9f2faa62bf
								
							
						
					
					
						commit
						fbbb307f2e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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, | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber