Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Change PORT env var to match Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
juleskuehn committed Oct 20, 2020
1 parent f115ac0 commit 1abdfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var http = require('http');
* Get port from environment and store in Express.
*/

var port = normalizePort(process.env.APP_PORT || '3000');
var port = normalizePort(process.env.PORT || '3000');
app.set('port', port);

/**
Expand Down

0 comments on commit 1abdfca

Please sign in to comment.