mirror of https://github.com/Safe3/uuWAF
Update anti-cc.lua
parent
143a49f27c
commit
e2000089ab
|
@ -10,9 +10,9 @@
|
||||||
|
|
||||||
|
|
||||||
local sh = ngx.shared.ipCache
|
local sh = ngx.shared.ipCache
|
||||||
local c, f = sh:get(waf.ip)
|
local c, f = sh:get("cc" .. waf.ip)
|
||||||
|
|
||||||
if not waf.startWith(waf.toLower(waf.uri),"/api/") then
|
if not waf.startWith(waf.toLower(waf.uri), "/api/") then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue