mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-11 21:29:08 +09:00
ベースHTMLは immutableキャッシュしないようにする
This commit is contained in:
parent
efae7a7bce
commit
5b5de6a89c
@ -122,8 +122,7 @@ router.get('/notes/:note', async ctx => {
|
||||
router.get('*', async ctx => {
|
||||
await send(ctx, `app/base.html`, {
|
||||
root: client,
|
||||
maxage: ms('3 days'),
|
||||
immutable: true
|
||||
maxage: ms('5m')
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user