mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
Fix check on string
This commit is contained in:
parent
c415ceef8d
commit
34e3fe690d
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ async function checkRules(
|
|||
for (const rule of rules) {
|
||||
if (
|
||||
clientIp &&
|
||||
rule.match == "IP" &&
|
||||
rule.match == "CIDR" &&
|
||||
isIpInCidr(clientIp, rule.value)
|
||||
) {
|
||||
return rule.action as "ACCEPT" | "DROP";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue