mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-13 06:12:57 +02:00
Fixed consolidate dying on behalf of a cache=true, it needs to be cahce=memory
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user