From e51626ce53aff7826c3da5861429e8deafe177fe Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 17 Sep 2023 15:48:41 -0700 Subject: [PATCH] fix: url checks --- config/filters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/filters.js b/config/filters.js index 21fca2c2..9fca1dd9 100644 --- a/config/filters.js +++ b/config/filters.js @@ -44,8 +44,8 @@ module.exports = { }, tagLookup: (url, tagMap) => { if (!url) return - if (url.includes('goodreads.com')) return '#Books #Reading' - if (url.includes('letterboxd.com')) return '#Movies #Letterboxd' + if (url.includes('https://goodreads.com')) return '#Books #Reading' + if (url.includes('https://letterboxd.com')) return '#Movies #Letterboxd' return tagMap[url] || '' }, webmentionsByUrl: (webmentions, url) => {