mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-03-13 07:09:59 +00:00
Apple Push notifications. Trying something else. again
This commit is contained in:
parent
f1ce8a1171
commit
db6cc3bdc3
3
app.js
3
app.js
@ -37,7 +37,8 @@ var apnTimer = 0;
|
||||
|
||||
var apn = require('apn');
|
||||
|
||||
var apnService = new apn.connection({ production: false });
|
||||
var apnService = new apn.connection({ key: 'conf/key.pem',
|
||||
cert: 'conf/cert.pem', production: false });
|
||||
|
||||
apnService.on('connected', function() {
|
||||
logger.debug('APN Connected');
|
||||
|
Loading…
Reference in New Issue
Block a user