summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-11-21 20:49:14 -0600
committerOmar Roth <omarroth@hotmail.com>2018-11-21 20:49:14 -0600
commitca4e8b800c62e4747a61c7358322e2fbf1fcb5cb (patch)
tree4e72e442f8e858fc69075befa265b6fb2c4e8604 /src
parent568e55dfa6af08880fa445fc8cac0fa45c0f029e (diff)
downloadinvidious-ca4e8b800c62e4747a61c7358322e2fbf1fcb5cb.tar.gz
invidious-ca4e8b800c62e4747a61c7358322e2fbf1fcb5cb.tar.bz2
invidious-ca4e8b800c62e4747a61c7358322e2fbf1fcb5cb.zip
Use absolute paths in /opensearch.xml
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index de40698f..76d772dc 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -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