From 63269b7ec7f94c3040cdcf4431cc98c54d39cbec Mon Sep 17 00:00:00 2001 From: stone Date: Tue, 26 Sep 2017 14:20:44 -0400 Subject: back in production baby --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 663faeeb..e2b0a6f4 100644 --- a/index.js +++ b/index.js @@ -85,7 +85,7 @@ var app = okcms.createApp({ push: { lib: require("./lib/okpush"), mongodbUrl: "mongodb://localhost/okpush_stone", - production: false, + production: true, apn_development: { cert: path.join(__dirname, "./lib/okpush/certs/aps_development_cert.pem"), key: path.join(__dirname, "./lib/okpush/certs/aps_development_key.pem"), @@ -94,10 +94,10 @@ var app = okcms.createApp({ } }, apn_production: { - // cert: path.join(__dirname, "./lib/okpush/certs/aps_production_cert.pem"), - // key: path.join(__dirname, "./lib/okpush/certs/aps_production_key.pem"), + cert: path.join(__dirname, "./lib/okpush/certs/aps_production_cert.pem"), + key: path.join(__dirname, "./lib/okpush/certs/aps_production_key.pem"), connection: { - // gateway: "gateway.push.apple.com", + gateway: "gateway.push.apple.com", } }, bundleId: "us.okfoc.stoneisland", -- cgit v1.2.3-70-g09d2