Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 5, 2023
1 parent 849ad18 commit 67d0578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

/**
Expand Down

0 comments on commit 67d0578

Please sign in to comment.