keep fixture as before

This commit is contained in:
Pooya Parsa
2025-01-22 00:31:52 +02:00
parent b7afb91ffa
commit b7c51c5da9

View File

@@ -63,12 +63,12 @@ export function createDemo<T extends Adapter<any, any>>(
headers: { "x-error": "unauthorized" }, headers: { "x-error": "unauthorized" },
}); });
} }
return new Response(undefined, { return {
headers: { headers: {
"x-powered-by": "cross-ws", "x-powered-by": "cross-ws",
"set-cookie": "cross-ws=1; SameSite=None; Secure", "set-cookie": "cross-ws=1; SameSite=None; Secure",
}, },
}); };
}, },
}); });