Add mode type to console.log when you start the server

This commit is contained in:
Sahat Yalkabov
2014-01-30 04:16:50 -05:00
parent 12f7405781
commit d31c00ec0e

2
app.js
View File

@ -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);
});