diff --git a/server.js b/server.js index 93d4f7af8..f4eb9d7e1 100644 --- a/server.js +++ b/server.js @@ -62,6 +62,7 @@ if (process.env.PACKAGE) { config.flushCache = function () { FRESH_KEY = +new Date(); + if (!(DEV_MODE || FRESH_MODE)) { FRESH_MODE = true; } if (!config.log) { return; } config.log.info("UPDATING_FRESH_KEY", FRESH_KEY); };