diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-10-05 15:38:05 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-10-06 00:54:37 +0200 |
| commit | bfdad7bc0f867f67675c1d8c539c58e82f450c58 (patch) | |
| tree | cf583c06d5f2b7cfb62626efac76bc4644788e14 /searx/templates/simple/base.html | |
| parent | 584760cf5419051bd3f37e733147e048356f7ffc (diff) | |
[fix] opensearch.xml URL contains method and autocomplete parameters
When the user add searx as a search engine, the browser loads the /opensearch.xml URL without the cookies.
Without the query parameters, the user preferences are ignored (method and autocomplete).
In addition, opensearch.xml is modified to support automatic updates,
see https://developer.mozilla.org/en-US/docs/Web/OpenSearch
Diffstat (limited to 'searx/templates/simple/base.html')
| -rw-r--r-- | searx/templates/simple/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 7a624a4b3..10fb424bf 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -29,7 +29,7 @@ data-no-item-found="{{ _('No item found') }}"></script> <!--<![endif]--> {% block head %} - <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/> + <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/> {% endblock %} <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" /> </head> |