|
@ -27,7 +27,7 @@ debug("Importing Monitor"); |
|
|
const Monitor = require("./model/monitor"); |
|
|
const Monitor = require("./model/monitor"); |
|
|
debug("Importing Settings"); |
|
|
debug("Importing Settings"); |
|
|
const { getSettings, setSettings, setting, initJWTSecret } = require("./util-server"); |
|
|
const { getSettings, setSettings, setting, initJWTSecret } = require("./util-server"); |
|
|
const { userMonitorList } = require("./user-monitor-list"); |
|
|
const UserMonitorList = require("./user-monitor-list"); |
|
|
|
|
|
|
|
|
debug("Importing Notification"); |
|
|
debug("Importing Notification"); |
|
|
const { Notification } = require("./notification"); |
|
|
const { Notification } = require("./notification"); |
|
@ -105,6 +105,11 @@ let totalClient = 0; |
|
|
*/ |
|
|
*/ |
|
|
let jwtSecret = null; |
|
|
let jwtSecret = null; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Main monitor list, filled by startMonitors() |
|
|
|
|
|
*/ |
|
|
|
|
|
let userMonitorList = new UserMonitorList(); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Show Setup Page |
|
|
* Show Setup Page |
|
|
* @type {boolean} |
|
|
* @type {boolean} |
|
|