...
|
...
|
@@ -84,6 +84,13 @@ end |
|
|
|
|
|
--check is in white ip list
|
|
|
function is_white()
|
|
|
|
|
|
-- we must ignore mthod : app.graphic.img. this is app toast for user verified
|
|
|
local method = http_request.get_method()
|
|
|
if method and method == "app.graphic.img" then
|
|
|
return true
|
|
|
end
|
|
|
|
|
|
if limit_ip_config then
|
|
|
local white_ips_length=#limit_ip_config.white_ips
|
|
|
if white_ips_length >0 then
|
...
|
...
|
|