mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-02 16:58:43 +09:00
Merge pull request #2438 from mei23/mei-0824-basehtmlcc
ベースHTMLは immutableキャッシュしないようにする
This commit is contained in:
commit
53926082e7
@ -122,8 +122,7 @@ router.get('/notes/:note', async ctx => {
|
|||||||
router.get('*', async ctx => {
|
router.get('*', async ctx => {
|
||||||
await send(ctx, `app/base.html`, {
|
await send(ctx, `app/base.html`, {
|
||||||
root: client,
|
root: client,
|
||||||
maxage: ms('3 days'),
|
maxage: ms('5m')
|
||||||
immutable: true
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user