From d15a3c6dde35e85d6a8badd3cfc93254ef50dc71 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 29 Jul 2022 00:40:27 -0700 Subject: [PATCH] console log --- .../src/server/api/stream/channels/recommended-timeline.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/stream/channels/recommended-timeline.ts b/packages/backend/src/server/api/stream/channels/recommended-timeline.ts index 03fc33b3a..dc173d46b 100644 --- a/packages/backend/src/server/api/stream/channels/recommended-timeline.ts +++ b/packages/backend/src/server/api/stream/channels/recommended-timeline.ts @@ -26,6 +26,7 @@ export default class extends Channel { private async onNote(note: Packed<'Note'>) { const meta = await fetchMeta(); + console.log(`\n\n\n${meta.recommendedInstances}\n${note.user.host}\n\n\n`); if (note.user.host !== null && !meta.recommendedInstances.includes(note.user.host)) return; if (note.visibility !== 'public') return; if (note.channelId != null && !this.followingChannels.has(note.channelId)) return;