mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
woops
This commit is contained in:
parent
71fd6f12ef
commit
4ac0fce534
1 changed files with 6 additions and 5 deletions
|
@ -142,11 +142,12 @@ async function handleResponse(
|
|||
|
||||
let maybeHeaders = responseHeaders["set-cookie"] || [];
|
||||
for (const cookie in maybeHeaders) {
|
||||
client.postMessage({
|
||||
scramjet$type: "cookie",
|
||||
cookie,
|
||||
url: url.href,
|
||||
} as MessageW2C);
|
||||
if (client)
|
||||
client.postMessage({
|
||||
scramjet$type: "cookie",
|
||||
cookie,
|
||||
url: url.href,
|
||||
} as MessageW2C);
|
||||
}
|
||||
|
||||
await cookieStore.setCookies(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue