mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-01-25 18:56:17 +00:00
Apple Push notifications.
This commit is contained in:
parent
2680bfe47a
commit
a25d4df2ac
3
app.js
3
app.js
@ -61,9 +61,10 @@ var settings = {
|
|||||||
expiresAfter: 4 * 7 * 24 * 3600, // 4 weeks
|
expiresAfter: 4 * 7 * 24 * 3600, // 4 weeks
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var push = new require('node-pushnotifications')(settings);
|
var push = require('node-pushnotifications')(settings);
|
||||||
|
|
||||||
|
|
||||||
|
push
|
||||||
mqttConnect.setEmitter(busEmitter);
|
mqttConnect.setEmitter(busEmitter);
|
||||||
mqttConnect.doConnection();
|
mqttConnect.doConnection();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user