diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index aaa34661..c5299bf8 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -112,7 +112,7 @@ title="RSS feed" role="button" v-if="video.uploaderUrl" - :href="`${apiUrl()}/fss?channels=${video.uploaderUrl.split('/')[2]}`" + :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${video.uploaderUrl.split('/')[2]}`" target="_blank" class="btn flex items-center" > @@ -494,7 +494,7 @@ export default { }, async fetchSubscribedStatus() { if (!this.channelId) return; - if ({ + if (!this.authenticated) { this.subscribed = this.isSubscribedLocally(this.channelId); return; } @@ -531,7 +531,7 @@ export default { }); }, subscribeHandler() { - if { + if (this.authenticated) { this.fetchJson(this.authApiUrl() + (this.subscribed ? "/unsubscribe" : "/subscribe"), null, { method: "POST", body: JSON.stringify({ diff --git a/src/main.js b/src/main.js index bff3879e..e6d25c50 100644 --- a/src/main.js +++ b/src/main.js @@ -385,7 +385,6 @@ const mixin = { const videoIds = JSON.parse(playlist.videoIds); const videosFuture = videoIds.map(videoId => this.getLocalPlaylistVideo(videoId)); playlist.relatedStreams = await Promise.all(videosFuture); - console.log(playlist); return playlist; }