Server test

This commit is contained in:
terakilobyte
2015-06-16 14:51:40 -04:00
parent b25dd9416b
commit 645c0aac0e

View File

@ -305,8 +305,7 @@ var options = {
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);
console.log('https://' + process.env.HOST + ':' + process.env.PORT);
server.listen('https://' + process.env.HOST + ':' + app.get('port'), function () {
console.log(
'FreeCodeCamp server listening on port %d in %s mode',