mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixes the majority of security js issues
This commit is contained in:
parent
5bb3399c10
commit
8fc6359b48
55 changed files with 206 additions and 398 deletions
|
|
@ -146,16 +146,7 @@
|
|||
|
||||
const $hostTraffic = $("#host-traffic-table").DataTable(dtConfig);
|
||||
DataTableUtils.addToggleColumnsDropdown($hostTraffic);
|
||||
const datasource = {
|
||||
endpoint: `${http_prefix}/lua/rest/v2/get/host/stats/charts/l4_stats.lua?ifid=${ifid}&host=${host}&vlan=${vlan}`,
|
||||
name: `${http_prefix}/lua/rest/v2/get/host/stats/charts/l4_stats.lua`,
|
||||
params: {
|
||||
host: host,
|
||||
vlan: vlan,
|
||||
ifid: ifid
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Loading the Chart */
|
||||
|
||||
const req = await fetch(`${http_prefix}/lua/rest/v2/get/host/stats/charts/l4_stats.lua?ifid=${ifid}&host=${host}&vlan=${vlan}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue