mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
17 lines
453 B
Lua
17 lines
453 B
Lua
--
|
|
-- (C) 2013-23 - ntop.org
|
|
--
|
|
|
|
local dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/notifications/?.lua;" .. package.path
|
|
|
|
|
|
local rest_utils = require "rest_utils"
|
|
local endpoints = require("endpoints")
|
|
local recipients = require "recipients"
|
|
|
|
endpoints.reset_configs()
|
|
recipients.cleanup()
|
|
|
|
rest_utils.answer(rest_utils.consts.success.ok)
|