mirror of
https://github.com/CFC-Servers/cfc_cl_http_whitelist.git
synced 2025-03-04 03:03:18 -05:00
dont log html urls if 0 urls present in data
This commit is contained in:
parent
fdbdfa96db
commit
ceda1ebc83
@ -31,12 +31,15 @@ local function wrapHTMLPanel( panelName )
|
||||
|
||||
return url
|
||||
end )
|
||||
CFCHTTP.LogRequest( {
|
||||
noisy = true,
|
||||
method = "GET",
|
||||
fileLocation = stack[3],
|
||||
urls = logUrls,
|
||||
} )
|
||||
|
||||
if #logUrls > 0 then
|
||||
CFCHTTP.LogRequest( {
|
||||
noisy = true,
|
||||
method = "GET",
|
||||
fileLocation = stack[3],
|
||||
urls = logUrls,
|
||||
} )
|
||||
end
|
||||
|
||||
return _G[setHTML]( self, html, ... )
|
||||
end
|
||||
@ -57,12 +60,14 @@ local function wrapHTMLPanel( panelName )
|
||||
return url
|
||||
end )
|
||||
|
||||
CFCHTTP.LogRequest( {
|
||||
noisy = true,
|
||||
method = "GET",
|
||||
fileLocation = stack[3],
|
||||
urls = logUrls,
|
||||
} )
|
||||
if #logUrls > 0 then
|
||||
CFCHTTP.LogRequest( {
|
||||
noisy = true,
|
||||
method = "GET",
|
||||
fileLocation = stack[3],
|
||||
urls = logUrls,
|
||||
} )
|
||||
end
|
||||
|
||||
return _G[runJavascript]( self, js )
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user