Update anti-cc.lua

pull/2/head
有安科技 2022-09-21 08:32:01 +08:00 committed by GitHub
parent 143a49f27c
commit e2000089ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
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