mirror of
https://github.com/searxng/searxng.git
synced 2025-07-31 00:52:22 +02:00
[fix] opensearch autocomplete
This commit is contained in:
parent
52a817f5c1
commit
879bac8adb
2 changed files with 3 additions and 6 deletions
|
@ -350,7 +350,6 @@ def preferences():
|
|||
|
||||
return resp
|
||||
return render('preferences.html',
|
||||
client=settings.get('client', None),
|
||||
locales=settings['locales'],
|
||||
current_locale=get_locale(),
|
||||
current_language=lang or 'all',
|
||||
|
@ -369,7 +368,6 @@ def stats():
|
|||
return render(
|
||||
'stats.html',
|
||||
stats=stats,
|
||||
client=settings.get('client', None)
|
||||
)
|
||||
|
||||
|
||||
|
@ -392,8 +390,7 @@ def opensearch():
|
|||
|
||||
ret = render('opensearch.xml',
|
||||
method=method,
|
||||
host=get_base_url(),
|
||||
client=settings['client'])
|
||||
host=get_base_url())
|
||||
|
||||
resp = Response(response=ret,
|
||||
status=200,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue