diff --git a/src/links/checkLinks.ts b/src/links/checkLinks.ts index 0d072ef1..6e2e38b4 100644 --- a/src/links/checkLinks.ts +++ b/src/links/checkLinks.ts @@ -19,7 +19,7 @@ export const checkLinks = async ( } if (urlMatch) { - if (allowedLinks.every((link) => urlMatch[0].includes(link))) { + if (allowedLinks.some((link) => urlMatch[0].includes(link))) { return null; } }