Skip to content

Commit

Permalink
added basepath to opensearch.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
lavoiesl committed Dec 23, 2014
1 parent 49fc60d commit 7fd76f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/templates/opensearch.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Wordpress Packagist</ShortName>
<Description>Search Wordpress plugins and themes</Description>
<Url type="text/html" template="http://{{ host }}/search/?q={searchTerms}"/>
</OpenSearchDescription>
<Url type="text/html" template="http://{{ host }}{{ app.request.basepath }}/search/?q={searchTerms}"/>
</OpenSearchDescription>

0 comments on commit 7fd76f6

Please sign in to comment.