Skip to content

Commit

Permalink
Update opensearch.xml to add xml header (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier committed May 19, 2020
1 parent 62130d0 commit c3bb7e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ func setupTemplates(e *echo.Echo) {
</script></head><body></body></html>
`))
templates["opensearch.xml"] = template.Must(template.New("opensearch.xml").Parse(
`<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
`<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Go</ShortName>
<Description>Search Go</Description>
<InputEncoding>UTF-8</InputEncoding>
Expand Down

0 comments on commit c3bb7e5

Please sign in to comment.