diff --git a/bin/www b/bin/www index 6eb5d131..7f41f95d 100755 --- a/bin/www +++ b/bin/www @@ -32,7 +32,7 @@ const http = require('http'); * Get port from environment and store in Express. */ -const port = normalizePort(process.env.PORT || '3000'); +const port = normalizePort(process.env.PORT || '8080'); app.set('port', port); /** diff --git a/package.json b/package.json index 660e72fb..a4c2b9e3 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,9 @@ "release": "standard-version -a", "openshift": "nodeshift --strictSSL=false --nodeVersion=8.x", "postinstall": "license-reporter report -s && license-reporter save -s --xml licenses.xml", - "start": "PORT=8080 node ./bin/www" + "start": "node ." }, + "main": "./bin/www", "standard-version": { "scripts": { "postbump": "npm run postinstall && node release.js",