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

キャッシュの設定を調整

parent d9f0e158
No related branches found
No related tags found
No related merge requests found
......@@ -162,8 +162,7 @@ const router = new Router();
router.get('/assets/*', async ctx => {
await send(ctx, ctx.params[0], {
root: `${__dirname}/../../docs/assets/`,
maxage: ms('7 days'),
immutable: true
maxage: ms('1 days')
});
});
......
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