mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes Local HTTP Servers no data (#5817)
This commit is contained in:
parent
a69d6d3475
commit
c4e8c9e499
2 changed files with 13 additions and 13 deletions
|
|
@ -116,12 +116,12 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
local k = string.gsub(key, "%.", "___") -- Needed as JQuery does not like . in id= field
|
||||
|
||||
print('\"key\" : \"'.. k ..'\",\n')
|
||||
print(' \"column_http_virtual_host\" : \"<A class="ntopng-external-link" href=\'http://'..key..'\'>'..key.."</A> <i class='fas fa-external-link-alt'></i>")
|
||||
print(' \"column_http_virtual_host\" : \"<A class=\'ntopng-external-link\' href=\'http://'..key..'\'>'..key.." <i class=\'fas fa-external-link-alt\'></i></A>")
|
||||
|
||||
print(" <A HREF='")
|
||||
print(" <A HREF=\'")
|
||||
local url = ntop.getHttpPrefix().."/lua/flows_stats.lua?vhost="..key
|
||||
print(url.."'>")
|
||||
print("<i class='fas fa-search-plus fa-lg'></i>")
|
||||
print(url.."\'>")
|
||||
print("<i class=\'fas fa-search-plus fa-lg\'></i>")
|
||||
print("</A>")
|
||||
print("\",\n")
|
||||
print(" \"column_server_ip\" : \""..ip2detailshref(value["server.ip"], value["server.vlan"], {page = "http"}, value["server.ip"]).."\"")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue