diff --git a/config/express.js b/config/express.js index 9b133a6896..b893259f56 100755 --- a/config/express.js +++ b/config/express.js @@ -144,9 +144,6 @@ module.exports = function(db) { }); if (process.env.NODE_ENV === 'secure') { - // Log SSL usage - console.log('Securely using https protocol'); - // Load SSL key and certificate var privateKey = fs.readFileSync('./config/sslcerts/key.pem', 'utf8'); var certificate = fs.readFileSync('./config/sslcerts/cert.pem', 'utf8'); diff --git a/server.js b/server.js index a88f8feccf..8f54163280 100755 --- a/server.js +++ b/server.js @@ -38,4 +38,7 @@ console.log(chalk.green(config.app.title + ' application started')); console.log(chalk.green('Environment:\t\t\t' + process.env.NODE_ENV)); console.log(chalk.green('Port:\t\t\t\t' + config.port)); console.log(chalk.green('Database:\t\t\t' + config.db)); +if (process.env.NODE_ENV === 'secure') { + console.log(chalk.green('HTTPs:\t\t\t\ton')); +} console.log('--'); \ No newline at end of file