diff options
| author | jules <jules@carbonpictures.com> | 2017-05-19 11:50:44 +0000 |
|---|---|---|
| committer | jules <jules@carbonpictures.com> | 2017-05-19 11:50:44 +0000 |
| commit | 6add1fce8f6ec98ce273ba05b2f56df4b5cae878 (patch) | |
| tree | ed018c206e54f244bf4c6f6bcb64d114250e3437 /index.js | |
| parent | 1b4bbdd157a6c5a47914b02915c7e6e84a73b573 (diff) | |
push notifications working!!
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,8 @@ var okcms = require('okcms') var path = require('path') -var isProduction = process.env.OK_PRODUCTION === 'true' var viewConfig = { template: 'index', +var isProduction = process.env.OK_PRODUCTION === 'true' +var viewConfig = { template: 'index', data: [ {type: 'timeline', query: '*'}, {type: 'page', query: '*'}, @@ -114,7 +115,7 @@ var app = okcms.createApp({ push: { lib: require("./lib/okpush"), mongodbUrl: "mongodb://localhost/okpush_hga", - production: true, + production: false, apn_development: { cert: path.join(__dirname, "./lib/okpush/certs/aps_development_cert.pem"), key: path.join(__dirname, "./lib/okpush/certs/aps_development_key.pem"), |
