summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 97de3fd0..63c44177 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -2439,7 +2439,7 @@ end
get "/feed/channel/:ucid" do |env|
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
- env.response.content_type = "text/xml; charset=UTF-8"
+ env.response.content_type = "application/atom+xml"
ucid = env.params.url["ucid"]
@@ -2513,7 +2513,7 @@ end
get "/feed/private" do |env|
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
- env.response.content_type = "text/xml; charset=UTF-8"
+ env.response.content_type = "application/atom+xml"
token = env.params.query["token"]?
@@ -2557,7 +2557,7 @@ end
get "/feed/playlist/:plid" do |env|
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
- env.response.content_type = "text/xml; charset=UTF-8"
+ env.response.content_type = "application/atom+xml"
plid = env.params.url["plid"]