summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-05-01 10:14:47 +0200
committerAdam Tauber <asciimoo@gmail.com>2014-05-01 10:14:47 +0200
commita41c1392f072837b60c38454072e38324e2ba029 (patch)
tree295f23c335fdb2c4677260a0e8e6a233e0b70c03 /searx/templates
parent44d3af9fb2482cd0df1a8ababbe2fdf27ab33172 (diff)
[fix] using different opensearch url to fix chrome POST request bug
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/opensearch.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/opensearch.xml b/searx/templates/opensearch.xml
index 82f8225c0..f39283f99 100644
--- a/searx/templates/opensearch.xml
+++ b/searx/templates/opensearch.xml
@@ -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" />