mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
キャッシュの設定を調整
This commit is contained in:
parent
d3014f6832
commit
cdf9a2137e
1 changed files with 1 additions and 2 deletions
|
@ -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')
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue