diff --git a/server.js b/server.js index d8a8d2535..40368dbcd 100644 --- a/server.js +++ b/server.js @@ -55,7 +55,7 @@ if (isProd) { } const serve = (path, cache) => express.static(resolve(path), { - maxAge: cache && isProd ? 60 * 60 * 24 * 30 : 0 + maxAge: cache && isProd ? 1000 * 60 * 60 * 24 * 30 : 0 }) app.use(compression({ threshold: 0 }))