From 67d057885049b246a9a2306a71e27f8a6427df67 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Tue, 5 Sep 2023 11:49:23 +0100 Subject: [PATCH] fix --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } /**