proxy Object.getOwnPropertyDescriptor

This commit is contained in:
velzie 2024-08-29 15:39:49 -04:00
parent ac5b03736a
commit 52a5e49150
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
7 changed files with 45 additions and 9 deletions

View file

@ -95,9 +95,9 @@ export async function swfetch(
}
// TODO this is wrong somehow
// headers.set("Sec-Fetch-Mode", "cors");
// headers.set("Sec-Fetch-Site", "same-origin");
// headers.set("Sec-Fetch-Dest", "empty");
headers.set("Sec-Fetch-Mode", "cors");
headers.set("Sec-Fetch-Site", "same-origin");
headers.set("Sec-Fetch-Dest", "empty");
const response: BareResponseFetch = await this.client.fetch(url, {
method: request.method,