From d31c00ec0ec7aaf7c0a8bf417e99fde16aa45bc7 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Thu, 30 Jan 2014 04:16:50 -0500 Subject: [PATCH] Add mode type to console.log when you start the server --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 5a0ab7fc8e..dd431a7f5b 100755 --- a/app.js +++ b/app.js @@ -119,5 +119,5 @@ app.get('/auth/tumblr', passport.authorize('tumblr')); app.get('/auth/tumblr/callback', passport.authorize('tumblr', { failureRedirect: '/api' }), function(req, res) { res.redirect('/api/tumblr'); }); app.listen(app.get('port'), function() { - console.log('✔ Express server listening on port ' + app.get('port')); + console.log("✔ Express server listening on port %d in %s mode", app.get('port'), app.settings.env); });