Add mode type to console.log when you start the server
This commit is contained in:
2
app.js
2
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.get('/auth/tumblr/callback', passport.authorize('tumblr', { failureRedirect: '/api' }), function(req, res) { res.redirect('/api/tumblr'); });
|
||||||
|
|
||||||
app.listen(app.get('port'), function() {
|
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);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user