fix: map cleanup
This commit is contained in:
parent
869e414339
commit
0525929436
2 changed files with 3 additions and 3 deletions
|
@ -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) => {
|
||||
|
|
Reference in a new issue