Skip to content

Commit

Permalink
Updates server listen in production
Browse files Browse the repository at this point in the history
  • Loading branch information
terakilobyte committed Jun 16, 2015
1 parent 7915e8a commit 1607fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ var options = {
if (process.env.NODE_ENV === 'production') {
var server = https.createServer(options, app);
console.log('https://' + process.env.HOST + ':' + process.env.PORT);
server.listen('https://' + process.env.HOST + ':' + app.get('port'), function () {
server.listen(app.get('port'), function () {
console.log(
'FreeCodeCamp server listening on port %d in %s mode',
app.get('port'),
Expand Down

0 comments on commit 1607fe0

Please sign in to comment.