From 4f1930c6637733b9a33dba2f27ae75bf24bc7176 Mon Sep 17 00:00:00 2001 From: Fabricio Silva Date: Thu, 2 Jan 2025 10:14:33 +0000 Subject: [PATCH] disable cache max-age from binary as it is forcing download --- src/routes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes.js b/src/routes.js index 2cc06ef..2f4a1fa 100644 --- a/src/routes.js +++ b/src/routes.js @@ -31,7 +31,6 @@ router.get("/:uuid", async (ctx, next) => { return next(); } - ctx.set("Cache-Control", "max-age=2592000"); // 30d in seconds ctx.set("X-IV", gist.iv); ctx.body = Buffer.from(gist.cipherText); }); -- 2.51.2