Restore web max-age to 5 minutes (#4246)

This commit is contained in:
MeiMei 2019-02-14 13:41:28 +09:00 committed by syuilo
parent 16230f320e
commit 46f1e8c599

View File

@ -237,7 +237,7 @@ router.get('*', async ctx => {
await ctx.render('base', {
img: meta.bannerUrl
});
ctx.set('Cache-Control', 'public, max-age=86400');
ctx.set('Cache-Control', 'public, max-age=300');
});
// Register router