Skip to content

Commit

Permalink
Added Firebase exception workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Nov 21, 2022
1 parent b4c448e commit 6ef47df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion meshcentral.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'); }
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"sample-config-advanced.json"
],
"dependencies": {
"@yetzt/nedb": "^1.8.0",
"archiver": "^5.3.1",
"body-parser": "^1.19.0",
"cbor": "~5.2.0",
Expand All @@ -47,9 +48,11 @@
"express-ws": "^4.0.0",
"ipcheck": "^0.1.0",
"minimist": "^1.2.5",
"mongodb": "^4.9.1",
"multiparty": "^4.2.1",
"@yetzt/nedb": "^1.8.0",
"node-forge": "^1.0.0",
"node-xcs": "^0.1.7",
"saslprep": "^1.0.3",
"ws": "^5.2.3",
"yauzl": "^2.10.0"
},
Expand Down

0 comments on commit 6ef47df

Please sign in to comment.