Explicitly set max-age (#3330)

This commit is contained in:
MeiMei
2018-11-20 05:29:51 +09:00
committed by syuilo
parent ca0cb6fd42
commit e332e3c248
3 changed files with 10 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ router.get('/.well-known/webfinger', async ctx => {
template: `${config.url}/authorize-follow?acct={uri}`
}]
};
ctx.set('Cache-Control', 'public, max-age=180');
});
export default router;