mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Add note
This commit is contained in:
parent
1f86d7c664
commit
373fd2462c
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue