diff --git a/src/utils.ts b/src/utils.ts index 5a0ab52b6..f4a0a2772 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -514,7 +514,7 @@ export const _isBlockedUA = function (ua: string, customBlockedUserAgents: strin botRegex = new RegExp(joinedBots, 'i') } - return botRegex.test(ua) + return !botRegex.test(ua) } /**