Skip to content
Snippets Groups Projects
Commit 82604640 authored by syuilo's avatar syuilo
Browse files

Add note

parent fde2782a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment