forked from 0x2620/pandora
remove extra /
This commit is contained in:
parent
90a36cfa17
commit
9df8d2f266
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def opensearch_xml(request):
|
||||||
e = ET.SubElement(osd, 'Url')
|
e = ET.SubElement(osd, 'Url')
|
||||||
e.attrib['type'] = 'text/html'
|
e.attrib['type'] = 'text/html'
|
||||||
e.attrib['method'] = 'GET'
|
e.attrib['method'] = 'GET'
|
||||||
e.attrib['template'] = "%s/{searchTerms}" % request.build_absolute_uri('/')
|
e.attrib['template'] = "%s{searchTerms}" % request.build_absolute_uri('/')
|
||||||
'''
|
'''
|
||||||
e = ET.SubElement(osd, 'Url')
|
e = ET.SubElement(osd, 'Url')
|
||||||
e.attrib['type'] = 'application/x-suggestions+json'
|
e.attrib['type'] = 'application/x-suggestions+json'
|
||||||
|
|
Loading…
Reference in a new issue