mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-27 01:46:25 -07:00
Restore web max-age to 5 minutes (#4246)
This commit is contained in:
parent
7d53081e59
commit
03ec2be5c1
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