summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.js b/index.js
index 339b802..aa8c643 100644
--- a/index.js
+++ b/index.js
@@ -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"),