forked from external-repos/pa11y-dashboard
Fix expires error, update to be a week
This commit is contained in:
2
app.js
2
app.js
@@ -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
|
||||
|
Reference in New Issue
Block a user