From cc914183ec41a638b9b676bd2d655247e1858878 Mon Sep 17 00:00:00 2001 From: ale Date: Sun, 24 Nov 2024 17:28:33 +0100 Subject: [PATCH] redirect error Signed-off-by: ale --- lib/fediblock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fediblock.js b/lib/fediblock.js index 70e88a9..fe80620 100644 --- a/lib/fediblock.js +++ b/lib/fediblock.js @@ -30,7 +30,7 @@ module.exports = async (client, apex, app) => { cache: 'no-cache', mode: 'same-origin', priority: 'high', - redirect: 'follow' + redirect: 'error' }) setImmediate(() => clearTimeout(timeout)) return await response.json()