mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
config.json read fixes.
This commit is contained in:
@@ -245,7 +245,7 @@ module.exports.CreateServer = function (parent) {
|
||||
}
|
||||
|
||||
// Pushover client setup (https://pushover.net)
|
||||
if (parent.config.messaging.pushover) {
|
||||
if (typeof parent.config.messaging.pushover == 'object') {
|
||||
// Validate Pushover configuration values
|
||||
var pushoverOK = true;
|
||||
if (typeof parent.config.messaging.pushover.token != 'string') { console.log('Invalid or missing Pushover token.'); pushoverOK = false; }
|
||||
|
||||
Reference in New Issue
Block a user