Changed publicpushnotifications setting to use alt.meshcentral.com.

This commit is contained in:
Ylian Saint-Hilaire 2024-01-16 18:57:57 -08:00
parent f93bb3a82f
commit 1e9607ba8e

View File

@ -1830,8 +1830,8 @@ function CreateMeshCentralServer(config, args) {
// Setup the push messaging relay
obj.firebase = require('./firebase').CreateFirebaseRelay(obj, config.firebaserelay.url, config.firebaserelay.key);
} else if (obj.config.settings.publicpushnotifications === true) {
// Setup the Firebase push messaging relay using https://meshcentral.com, this is the public push notification server.
obj.firebase = require('./firebase').CreateFirebaseRelay(obj, 'https://meshcentral.com/firebaserelay.aspx');
// Setup the Firebase push messaging relay using https://alt.meshcentral.com, this is the public push notification server.
obj.firebase = require('./firebase').CreateFirebaseRelay(obj, 'https://alt.meshcentral.com/firebaserelay.aspx');
}
// Start periodic maintenance