Update anti-cc.lua

pull/2/head
有安科技 2 years ago committed by GitHub
parent 143a49f27c
commit e2000089ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save