diff --git a/application.js b/application.js index e4e4e1c..0490d9f 100644 --- a/application.js +++ b/application.js @@ -38,7 +38,7 @@ serviceSync.initDataset('users', { throw err; } - const port = process.env.FH_PORT || process.env.VCAP_APP_PORT || 8001; +const port = process.env.FH_PORT || process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || 8001; app.listen(port, function() { log.info('App started at: %s on port: %s', new Date(), port); }); diff --git a/package.json b/package.json index 7895517..f577bac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fh-rest-sync-proxy-template", - "version": "0.1.0", + "version": "0.1.1", "license": "mit", "description": "Sample Cloud Application demonstrating the use of fh-rest-sync-proxy", "main": "application.js", @@ -13,7 +13,7 @@ "dependencies": { "express": "~4.13.4", "fh-bunyan": "~0.1.3", - "fh-mbaas-api": "~5.5.6", + "fh-mbaas-api": "~5.14.2", "fh-rest-sync-proxy": "git+https://github.com/feedhenry-staff/fh-rest-sync-proxy#0.3.0" }, "devDependencies": {