From 8fe7709f29b5e9dc7eabad31974b430ae89e15ce Mon Sep 17 00:00:00 2001 From: April John Date: Mon, 4 Sep 2023 18:56:16 +0200 Subject: [PATCH] aww --- packages/backend/src/server/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/server/index.ts b/packages/backend/src/server/index.ts index 0dbe95cd4..9259ef73a 100644 --- a/packages/backend/src/server/index.ts +++ b/packages/backend/src/server/index.ts @@ -164,9 +164,8 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => { ctx.body = { version: "2.0", - //...base }; - ...(await nodeinfo2()) }; - //ctx.set("Cache-Control", "public, max-age=600"); + ...base }; + ctx.set("Cache-Control", "public, max-age=600"); }); mastoRouter.post("/oauth/token", async (ctx) => {