mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] using different opensearch url to fix chrome POST request bug
This commit is contained in:
parent
44d3af9fb2
commit
a41c1392f0
2 changed files with 4 additions and 3 deletions
|
|
@ -4,8 +4,8 @@
|
|||
<Description>Search searx</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<LongName>searx metasearch</LongName>
|
||||
{% if method == 'get' %}
|
||||
<Url type="text/html" method="get" template="{{ host }}?q={searchTerms}"/>
|
||||
{% if opensearch_method == 'get' %}
|
||||
<Url type="text/html" method="get" template="{{ host }}search?q={searchTerms}"/>
|
||||
{% if autocomplete %}
|
||||
<Url type="application/x-suggestions+json" method="get" template="{{ host }}autocompleter">
|
||||
<Param name="format" value="x-suggestions" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue