1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-25 15:46:39 +09:00

キャッシュの設定を調整

This commit is contained in:
syuilo 2018-09-19 14:22:46 +09:00
parent d9f0e158a3
commit ea3bcbbc37
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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')
});
});