Skip to content

Commit

Permalink
Change static cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
smoke-indica committed Jun 30, 2020
1 parent 968d131 commit debd2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const app = new Koa();
app.name = 'Smoke app';
const env = process.env.NODE_ENV || 'development';
// cache of a thousand days
const cacheOpts = {maxAge: 86400000, gzip: true};
const cacheOpts = {maxAge: 86400000, gzip: true, buffer: true };

app.use(
favicon(path.join(__dirname, '../app/assets/images/favicons/favicon.ico'))
Expand Down

0 comments on commit debd2da

Please sign in to comment.