Fixed consolidate dying on behalf of a cache=true, it needs to be cahce=memory

This commit is contained in:
Lior Kesos
2014-02-06 23:58:22 +02:00
parent f0eb648cbd
commit 752854fafa

View File

@@ -15,7 +15,9 @@ module.exports = function(app, passport, db) {
// Prettify HTML
app.locals.pretty = true;
// cache=memory or swig dies in NODE_ENV=production
app.locals.cache = 'memory';
// Should be placed before express.static
// To ensure that all assets and data are compressed (utilize bandwidth)
app.use(express.compress({