fix: map cleanup

This commit is contained in:
Cory Dransfeldt 2023-10-23 08:25:18 -07:00
parent 869e414339
commit 0525929436
2 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,8 @@ module.exports = {
},
tagLookup: (url, tagMap) => {
if (!url) return
if (url.includes('https://goodreads.com')) return '#Books #Reading'
if (url.includes('https://trakt.tv')) return '#Movies #Trakt'
if (url.includes('goodreads.com')) return '#Books #NowReading #Goodreads'
if (url.includes('trakt.tv')) return '#Movies #Trakt'
return tagMap[url] || ''
},
webmentionsByUrl: (webmentions, url) => {