If I'm mistaken please correct me but isn't app.use(app.router) removed from Express 4.
https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x
And if I'm not mistaken again, MEAN is using Exp. 4
Therefore there is no line of app.use(app.router)
then where should I put app.use(seo...)?
app.use(seo({
cacheClient: 'disk', // Can be 'disk' or 'redis'
cacheDuration: 2 * 60 * 60 * 24 * 1000, // In milliseconds for disk cache
}));
// app.use(app.router) will be below this line