Skip to content

Commit ca4e8b8

Browse files
committed
Use absolute paths in /opensearch.xml
1 parent 568e55d commit ca4e8b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/invidious.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ get "/opensearch.xml" do |env|
521521
xml.element("LongName") { xml.text "Invidious Search" }
522522
xml.element("Description") { xml.text "Search for videos, channels, and playlists on Invidious" }
523523
xml.element("InputEncoding") { xml.text "UTF-8" }
524-
xml.element("Image", width: 48, height: 48, type: "image/x-icon") { xml.text "/favicon.ico" }
525-
xml.element("Url", type: "text/html", method: "get", template: "/search?q={searchTerms}")
524+
xml.element("Image", width: 48, height: 48, type: "image/x-icon") { xml.text "https://invidio.us/favicon.ico" }
525+
xml.element("Url", type: "text/html", method: "get", template: "https://invidio.us/search?q={searchTerms}")
526526
end
527527
end
528528
end

0 commit comments

Comments
 (0)