mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
cleanup
This commit is contained in:
parent
16ba9b7586
commit
16392ca813
4 changed files with 2 additions and 195 deletions
|
|
@ -6,8 +6,7 @@ dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
require "lua_utils"
|
||||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
sendHTTPHeader('application/json')
|
||||
|
||||
function getNetworkStats(network)
|
||||
local hosts_stats = interface.getHostsInfo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue