mirror of
https://github.com/searxng/searxng.git
synced 2025-09-01 07:48:32 +02:00
[fix] replace the png icons by ico's, minor chnage in the html
This commit is contained in:
parent
a62b94e21c
commit
380b440a55
5 changed files with 0 additions and 29 deletions
|
@ -144,9 +144,6 @@ def index():
|
|||
for engine in result['engines']:
|
||||
if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow', 'github']:
|
||||
result['favicon'] = engine
|
||||
if engine in ['wikipedia', 'ddg definitions']:
|
||||
featured_results.append(result)
|
||||
results.remove(result)
|
||||
|
||||
if request_data.get('format') == 'json':
|
||||
return Response(json.dumps({'query': query, 'results': results}), mimetype='application/json')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue