Use absolute paths in /opensearch.xml

このコミットが含まれているのは:
Omar Roth 2018-11-21 20:49:14 -06:00
コミット ca4e8b800c
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -521,8 +521,8 @@ get "/opensearch.xml" do |env|
xml.element("LongName") { xml.text "Invidious Search" }
xml.element("Description") { xml.text "Search for videos, channels, and playlists on Invidious" }
xml.element("InputEncoding") { xml.text "UTF-8" }
xml.element("Image", width: 48, height: 48, type: "image/x-icon") { xml.text "/favicon.ico" }
xml.element("Url", type: "text/html", method: "get", template: "/search?q={searchTerms}")
xml.element("Image", width: 48, height: 48, type: "image/x-icon") { xml.text "https://invidio.us/favicon.ico" }
xml.element("Url", type: "text/html", method: "get", template: "https://invidio.us/search?q={searchTerms}")
end
end
end