[fix] using different opensearch url to fix chrome POST request bug

This commit is contained in:
Adam Tauber 2014-05-01 10:14:47 +02:00
parent 44d3af9fb2
commit a41c1392f0
2 changed files with 4 additions and 3 deletions

View file

@ -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" />