From f854af3581606e2d23d7d9cda597220ace627a26 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Thu, 15 Jun 2023 23:12:26 +0200 Subject: [PATCH] Remove unused logging for debugging --- src/components/WatchVideo.vue | 6 +++--- src/main.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) 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; }