mirror of
https://github.com/CFC-Servers/cfc_cl_http_whitelist.git
synced 2025-03-04 03:03:18 -05:00
dont log allows for html
This commit is contained in:
parent
bbb3232020
commit
565ce77652
@ -23,9 +23,9 @@ local function wrapHTMLPanel( panelName )
|
||||
local isAllowed = options and options.allowed
|
||||
|
||||
local logUrl = { url = url, status = isAllowed and "allowed" or "replaced" }
|
||||
table.insert( logUrls, logUrl )
|
||||
|
||||
if not isAllowed then
|
||||
table.insert( logUrls, logUrl )
|
||||
return CFCHTTP.GetRedirectURL( url )
|
||||
end
|
||||
|
||||
@ -52,8 +52,9 @@ local function wrapHTMLPanel( panelName )
|
||||
local isAllowed = options and options.allowed
|
||||
|
||||
local logUrl = { url = url, status = isAllowed and "allowed" or "replaced" }
|
||||
table.insert( logUrls, logUrl )
|
||||
|
||||
if not isAllowed then
|
||||
table.insert( logUrls, logUrl )
|
||||
return CFCHTTP.GetRedirectURL( url )
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user