mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 09:46:40 +00:00
Merge branch 'dev' into audit-logs
This commit is contained in:
@@ -911,9 +911,9 @@ async function checkRules(
|
||||
) {
|
||||
return rule.action as any;
|
||||
} else if (
|
||||
ipCC &&
|
||||
rule.match == "GEOIP" &&
|
||||
(await isIpInGeoIP(ipCC, rule.value))
|
||||
clientIp &&
|
||||
rule.match == "COUNTRY" &&
|
||||
(await isIpInGeoIP(clientIp, rule.value))
|
||||
) {
|
||||
return rule.action as any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user