mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 10:06:59 +01:00
Restore web max-age to 5 minutes (#4246)
This commit is contained in:
parent
16230f320e
commit
46f1e8c599
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ router.get('*', async ctx => {
|
||||||
await ctx.render('base', {
|
await ctx.render('base', {
|
||||||
img: meta.bannerUrl
|
img: meta.bannerUrl
|
||||||
});
|
});
|
||||||
ctx.set('Cache-Control', 'public, max-age=86400');
|
ctx.set('Cache-Control', 'public, max-age=300');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Register router
|
// Register router
|
||||||
|
|
Loading…
Reference in a new issue