From 2a9f5f371a2841a16f02f7f5d3c128f00ba0264a Mon Sep 17 00:00:00 2001 From: velzie Date: Fri, 9 Aug 2024 21:08:06 -0400 Subject: [PATCH] oops --- src/worker/fetch.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/worker/fetch.ts b/src/worker/fetch.ts index 2a2a2ad..5fc6ebb 100644 --- a/src/worker/fetch.ts +++ b/src/worker/fetch.ts @@ -86,12 +86,6 @@ export async function swfetch( if (cookies.length) { headers.set("Cookie", cookies.join(";")); } - if (url.href.includes("bulk")) { - console.log(url, { - headers: Object.entries(headers.headers), - bod: request.body, - }); - } // TODO this is wrong somehow headers.set("Sec-Fetch-Mode", "navigate"); @@ -103,7 +97,7 @@ export async function swfetch( credentials: "omit", mode: request.mode === "cors" ? request.mode : "same-origin", cache: request.cache, - redirect: "manual", + redirect: request.redirect, //@ts-ignore why the fuck is this not typed mircosoft duplex: "half", });