stop it from being cached

This commit is contained in:
April John 2023-09-04 18:38:55 +02:00
parent 8e7c6526e1
commit 20a48cabd0

View file

@ -164,8 +164,9 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => {
ctx.body = { ctx.body = {
version: "2.0", version: "2.0",
...base }; //...base };
ctx.set("Cache-Control", "public, max-age=600"); ...nodeinfo2() };
//ctx.set("Cache-Control", "public, max-age=600");
}); });
mastoRouter.post("/oauth/token", async (ctx) => { mastoRouter.post("/oauth/token", async (ctx) => {