mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-11 21:29:08 +09:00
Add note
This commit is contained in:
parent
fde2782a9e
commit
8260464090
@ -14,6 +14,7 @@ const app = new Koa();
|
||||
app.use(cors());
|
||||
|
||||
app.use(async (ctx, next) => {
|
||||
// Cache 365days
|
||||
ctx.set('Cache-Control', 'max-age=31536000, immutable');
|
||||
await next();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user