mirror of
https://github.com/LukeHagar/crossws.git
synced 2025-12-10 12:27:46 +00:00
keep fixture as before
This commit is contained in:
@@ -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",
|
||||||
},
|
},
|
||||||
});
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user