use app.get('env')
This commit is contained in:
2
app.js
2
app.js
@ -188,7 +188,7 @@ app.get('/auth/venmo/callback', passport.authorize('venmo', { failureRedirect: '
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
app.listen(app.get('port'), function() {
|
app.listen(app.get('port'), function() {
|
||||||
console.log("✔ Express server listening on port %d in %s mode", app.get('port'), app.settings.env);
|
console.log("✔ Express server listening on port %d in %s mode", app.get('port'), app.get('env'));
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = app;
|
module.exports = app;
|
||||||
|
Reference in New Issue
Block a user