Sunday 13 March 2016

Express.js Configure Depricated

Hey! I Have this piece of code -> app.configure(function(){ app.set('views', __dirname + '/views'); app.set('view engine', 'jade'); }); But when I run my script, I get -> TypeError: app.configure is not a function I found that .configure is deprecated in v4.x so what should I use instead?Any help appreciated!Thanks!

Submitted March 13, 2016 at 02:04PM by farazappy

No comments:

Post a Comment