Explicitly set max-age (#3330)
This commit is contained in:
parent
ca0cb6fd42
commit
e332e3c248
3 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue