1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added Firebase exception workaround.

This commit is contained in:
Ylian Saint-Hilaire 2022-11-21 13:29:41 -08:00
parent b4c448e984
commit 6ef47df0a7
2 changed files with 6 additions and 2 deletions

View file

@ -4060,7 +4060,8 @@ function mainStart() {
if ((typeof config.settings.webpush == 'object') && (typeof config.settings.webpush.email == 'string')) { modules.push('web-push'); }
// Firebase Support
if (config.firebase != null) { modules.push('node-xcs'); }
// Avoid 0.1.8 due to bugs: https://github.com/guness/node-xcs/issues/43
if (config.firebase != null) { modules.push('node-xcs@0.1.7'); }
// Syslog support
if ((require('os').platform() != 'win32') && (config.settings.syslog || config.settings.syslogjson)) { modules.push('modern-syslog'); }