Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

fix: use the main prop for the application entry point. #27

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
"release": "standard-version -a",
"openshift": "nodeshift --strictSSL=false --dockerImage=registry.access.redhat.com/rhoar-nodejs/nodejs-8",
"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",
Expand Down