Implements widgets with multiple datasources (fetch + rest)

This commit is contained in:
Simone Mainardi 2021-01-05 20:55:33 +01:00
parent caee14071c
commit d902000d67
7 changed files with 126 additions and 25 deletions

View file

@ -0,0 +1,11 @@
--
-- (C) 2013-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/modules/datasources/?.lua;" .. package.path
local widgets_utils = require "widgets_utils"
widgets_utils.rest_response()