Apple Push notifications. Trying something else. again

This commit is contained in:
Martin Donnelly 2016-04-29 11:12:32 +01:00
parent f1ce8a1171
commit db6cc3bdc3

3
app.js
View File

@ -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');