mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
キャッシュの設定を調整
This commit is contained in:
parent
d9f0e158a3
commit
ea3bcbbc37
@ -162,8 +162,7 @@ const router = new Router();
|
|||||||
router.get('/assets/*', async ctx => {
|
router.get('/assets/*', async ctx => {
|
||||||
await send(ctx, ctx.params[0], {
|
await send(ctx, ctx.params[0], {
|
||||||
root: `${__dirname}/../../docs/assets/`,
|
root: `${__dirname}/../../docs/assets/`,
|
||||||
maxage: ms('7 days'),
|
maxage: ms('1 days')
|
||||||
immutable: true
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user