diff --git a/src/adapters/vanilla.ts b/src/adapters/vanilla.ts index 839cc5d2..66798176 100644 --- a/src/adapters/vanilla.ts +++ b/src/adapters/vanilla.ts @@ -49,7 +49,8 @@ export async function requestFromVanilla(req: Request): Promise { } const headers: Record = {}; - Object.entries(req.headers).forEach(([key, value]) => { + req.headers.forEach((value, key) => { + if (key === "cookie") return; headers[key] = value; });