1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 07:11:47 +09:00

Merge pull request #2438 from mei23/mei-0824-basehtmlcc

ベースHTMLは immutableキャッシュしないようにする
This commit is contained in:
syuilo 2018-08-24 05:47:53 +09:00 committed by GitHub
commit 53926082e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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