mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
config.json read fixes.
This commit is contained in:
parent
0ee671ac74
commit
62f52e91c7
3 changed files with 19 additions and 12 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue