Fix expires error, update to be a week

This commit is contained in:
Rowan Manning
2013-11-05 12:03:14 +00:00
parent 98d948fd52
commit 0b993b4c99

2
app.js
View File

@@ -23,7 +23,7 @@ function initApp (config, callback) {
// Public files
app.express.use(express.static(__dirname + '/public', {
maxAge: (process.env.NODE_ENV === 'production' ? 604800 : 0)
maxAge: (process.env.NODE_ENV === 'production' ? 604800000 : 0)
}));
// General express config