``` diff --git a/src/invidious.cr b/src/invidious.cr index a9a3a96..9e31d74 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1482,7 +1482,7 @@ get "/subscription_manager" do |env| if format == "newpipe" xmlUrl = "https://www.youtube.com/feeds/videos.xml?channel_id=#{channel.id}" else - xmlUrl = "#{HOST_URL}/feed/channel/#{channel.id}" + xmlUrl = "#{env.request.host}/feed/channel/#{channel.id}" end xml.element("outline", text: channel.author, title: channel.author, ```