diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-02-27 16:18:47 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-02-27 16:18:47 -0600 |
| commit | e4f397d049e064d5efc13c4ec25b63efce33d6d3 (patch) | |
| tree | 4623da75e6f64d1bd6309c561225e4b99c3a8f24 | |
| parent | 0c8dff162d2431e087b28f334827dbe3a65a233e (diff) | |
| download | invidious-e4f397d049e064d5efc13c4ec25b63efce33d6d3.tar.gz invidious-e4f397d049e064d5efc13c4ec25b63efce33d6d3.tar.bz2 invidious-e4f397d049e064d5efc13c4ec25b63efce33d6d3.zip | |
Fix RSS thumbnails
| -rw-r--r-- | src/invidious.cr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 25b0252b..78c7c6e1 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2024,7 +2024,7 @@ get "/feed/channel/:ucid" do |env| xml.element("media:group") do xml.element("media:title") { xml.text video.title } - xml.element("media:thumbnail", url: "/vi/#{video.id}/mqdefault.jpg", + xml.element("media:thumbnail", url: "#{host_url}/vi/#{video.id}/mqdefault.jpg", width: "320", height: "180") xml.element("media:description") { xml.text video.description } end @@ -2140,7 +2140,7 @@ get "/feed/private" do |env| xml.element("media:group") do xml.element("media:title") { xml.text video.title } - xml.element("media:thumbnail", url: "/vi/#{video.id}/mqdefault.jpg", + xml.element("media:thumbnail", url: "#{host_url}/vi/#{video.id}/mqdefault.jpg", width: "320", height: "180") end end |
