From e4446cd7e90e2f91fcaacaa942353fbbec71ebff Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 9 Sep 2022 12:40:18 +0200 Subject: [PATCH] proxy channel feeds --- src/components/ChannelPage.vue | 2 +- src/components/WatchVideo.vue | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 0db3e085..d08ce459 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -28,7 +28,7 @@ title="RSS feed" role="button" v-if="channel.id" - :href="`https://www.youtube.com/feeds/videos.xml?channel_id=${channel.id}`" + :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${channel.id}`" target="_blank" class="btn flex-col ml-3" > diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index d1c773f5..9db70e3f 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -102,9 +102,7 @@ title="RSS feed" role="button" v-if="video.uploaderUrl" - :href="`https://www.youtube.com/feeds/videos.xml?channel_id=${ - video.uploaderUrl.split('/')[2] - }`" + :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${video.uploaderUrl.split('/')[2]}`" target="_blank" class="btn flex-col" >