chore: webmentions tweak

This commit is contained in:
Cory Dransfeldt 2023-09-06 21:07:56 -07:00
parent 7cd12f55fe
commit 43bd83f2a5
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ module.exports = {
const filtered =
webmentions
.filter((entry) => entry['wm-target'].replace(utmPattern, '') === `${BASE_URL}${url}`)
.filter((entry) => entry['wm-target'] === `${BASE_URL}${url}`)
.filter((entry) => allowedTypes.includes(entry['wm-property'])) || []
filtered.forEach((m) => {