Skip to content

Commit

Permalink
Case sensitive PORT var
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Moffat authored and Mark Moffat committed Jan 13, 2020
1 parent f13ba34 commit 8996e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ if(!config.secretSession || config.secretSession === ''){

app.enable('trust proxy');
app.use(helmet());
app.set('port', process.env.port || 1111);
app.set('port', process.env.PORT || 1111);
app.use(logger('dev'));
app.use(bodyParser.urlencoded({ extended: false }));
app.use(cookieParser(config.secretCookie));
Expand Down

0 comments on commit 8996e9b

Please sign in to comment.