mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
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