diff options
| author | tor <22853716+tor255@users.noreply.github.com> | 2018-12-24 04:55:39 +1100 |
|---|---|---|
| committer | tor <22853716+tor255@users.noreply.github.com> | 2018-12-24 04:55:39 +1100 |
| commit | 5ca74a8dcae03c2df14320d573e9e3fbb8ee9e00 (patch) | |
| tree | 635b6287c1134a3756cbe3b3e2da042504852845 | |
| parent | 162f7d9d3d3deea4416fe72a823a361d4ba11621 (diff) | |
| download | invidious-5ca74a8dcae03c2df14320d573e9e3fbb8ee9e00.tar.gz invidious-5ca74a8dcae03c2df14320d573e9e3fbb8ee9e00.tar.bz2 invidious-5ca74a8dcae03c2df14320d573e9e3fbb8ee9e00.zip | |
Fixed subscription's xml feed
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index d8d66c40..ff2b894c 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2060,7 +2060,7 @@ get "/feed/private" do |env| query = env.request.query.not_nil! feed = XML.build(indent: " ", encoding: "UTF-8") do |xml| - xml.element("feed", xmlns: "http://www.w3.org/2005/Atom", "xmlns:media": "http://search.yahoo.com/mrss/", + xml.element("feed", "xmlns:yt": "http://www.w3.org/2005/Atom", "xmlns:media": "http://search.yahoo.com/mrss/", "xml:lang": "en-US") do xml.element("link", "type": "text/html", rel: "alternate", href: "#{host_url}/feed/subscriptions") xml.element("link", "type": "application/atom+xml", rel: "self", href: "#{host_url}#{path}?#{query}") |
