diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-08-09 19:21:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-09 19:21:09 +0200 |
| commit | f3bfc19a557ef121d370033de6325df2ca835dcd (patch) | |
| tree | a41a3b505d1fe1d4d83ca91e275e9b76145d4f0e /searx/templates | |
| parent | 3c45fb7a99c09166c36001d442312363b436b6ac (diff) | |
| parent | 1ea35605d186272dd69537065acc3161ddb4c7a9 (diff) | |
Merge pull request #2127 from msafadieh/master
[fix] fix the browser autocomplete feature.
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/__common__/opensearch.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/__common__/opensearch.xml b/searx/templates/__common__/opensearch.xml index 27634245f..7fdc1f7d8 100644 --- a/searx/templates/__common__/opensearch.xml +++ b/searx/templates/__common__/opensearch.xml @@ -13,6 +13,6 @@ </Url> {% endif %} {% if autocomplete %} - <Url rel="suggestions" type="application/json" template="{{ host }}autocompleter"/> + <Url rel="suggestions" type="application/x-suggestions+json" template="{{ host }}autocompleter?q={searchTerms}"/> {% endif %} </OpenSearchDescription> |