mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 15:30:00 -04:00
oops
This commit is contained in:
parent
9b5f15665c
commit
2a9f5f371a
1 changed files with 1 additions and 7 deletions
|
@ -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",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue