Skip to content

Commit

Permalink
change port
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianj98 committed Apr 14, 2015
1 parent 92ed10b commit a762301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node app.js
3 changes: 2 additions & 1 deletion server/config/opts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ module.exports = require('optimist')
.usage('Usage: $0 --port [port]')
.alias('port', 'p')
.describe('port', 'Port number for the Express application.')
.default('port', 3000)
.default('port', process.env.PORT || 8080)
.argv;

0 comments on commit a762301

Please sign in to comment.