summaryrefslogtreecommitdiff
path: root/src/server/activitypub/featured.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-09-19 07:17:19 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-09-19 07:17:19 +0900
commit8414db57f00609377336896de20ffdf565d6c924 (patch)
tree40f5daef14ccc665bb469e75cd4291d05e9218c2 /src/server/activitypub/featured.ts
parentAdd new shortcut (diff)
downloadmisskey-8414db57f00609377336896de20ffdf565d6c924.tar.gz
misskey-8414db57f00609377336896de20ffdf565d6c924.tar.bz2
misskey-8414db57f00609377336896de20ffdf565d6c924.zip
Specify AP Cache-Control (#2735)
Diffstat (limited to 'src/server/activitypub/featured.ts')
-rw-r--r--src/server/activitypub/featured.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/activitypub/featured.ts b/src/server/activitypub/featured.ts
index 93c3700206..f400cc416f 100644
--- a/src/server/activitypub/featured.ts
+++ b/src/server/activitypub/featured.ts
@@ -34,5 +34,6 @@ export default async (ctx: Router.IRouterContext) => {
);
ctx.body = pack(rendered);
+ ctx.set('Cache-Control', 'private, max-age=0, must-revalidate');
setResponseType(ctx);
};