diff --git a/src/lib/detect.ts b/src/lib/detect.ts index 6bba1596f..dccfe184d 100644 --- a/src/lib/detect.ts +++ b/src/lib/detect.ts @@ -146,7 +146,7 @@ export function hasBlockedIp(clientIp: string) { const ips = ignoreIps.split(',').map(n => n.trim()); - return ips.find(ip => { + return ips.some(ip => { if (ip === clientIp) { return true; }