Skip to content

Commit

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

0 comments on commit b25dd94

Please sign in to comment.