diff --git a/server.js b/server.js index 0db55f8d0..aed35c2fc 100644 --- a/server.js +++ b/server.js @@ -89,7 +89,9 @@ var mainPages = config.mainPages || ['index', 'privacy', 'terms', 'about', 'cont var mainPagePattern = new RegExp('^\/(' + mainPages.join('|') + ').html$'); app.get(mainPagePattern, Express.static(__dirname + '/customize.dist')); -app.use("/blob", Express.static(Path.join(__dirname, (config.blobPath || './blob')))); +app.use("/blob", Express.static(Path.join(__dirname, (config.blobPath || './blob')), { + maxAge: DEV_MODE? "0d": "365d" +})); app.use("/customize", Express.static(__dirname + '/customize')); app.use("/customize", Express.static(__dirname + '/customize.dist')); diff --git a/www/drive/inner.html b/www/drive/inner.html index dfd37b799..f35be196a 100644 --- a/www/drive/inner.html +++ b/www/drive/inner.html @@ -17,7 +17,7 @@
-