Update init.lua
parent
87646bb1ef
commit
e1ffb54cc3
2
init.lua
2
init.lua
|
@ -78,12 +78,14 @@ end
|
||||||
|
|
||||||
function whiteurl()
|
function whiteurl()
|
||||||
if WhiteCheck then
|
if WhiteCheck then
|
||||||
|
if wturlrules ~=nil then
|
||||||
for _,rule in pairs(wturlrules) do
|
for _,rule in pairs(wturlrules) do
|
||||||
if ngxmatch(ngx.var.request_uri,rule,"isjo") then
|
if ngxmatch(ngx.var.request_uri,rule,"isjo") then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue