From cf87ea0f4eedf5b014a944289ccc4fe83b2fa823 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sat, 26 Aug 2023 03:30:37 +0100 Subject: [PATCH] feat: hide shorts in home --- src/models/home.model.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/models/home.model.ts b/src/models/home.model.ts index 858b8e29..90d6cd96 100644 --- a/src/models/home.model.ts +++ b/src/models/home.model.ts @@ -111,6 +111,11 @@ export async function getFeed({ path: "tags", array_starts_with: "comment" } + }, { + content: { + path: "tags", + array_starts_with: "short" # TODO: remove this + } }] }, }, @@ -619,6 +624,11 @@ export async function getFeed({ path: "tags", array_starts_with: "comment" } + }, { + content: { + path: "tags", + array_starts_with: "short" # TODO: remove this + } }] }, OR: [