fix
This commit is contained in:
parent
f771d51110
commit
c0e042ce0d
|
|
@ -17,10 +17,10 @@ export const _ = {
|
|||
const body = await req.arrayBuffer();
|
||||
const headers = {} as Record<string, string>;
|
||||
req.headers.forEach((v, k) => {
|
||||
if (k.startsWith("sec-")) return;
|
||||
if (k.startsWith("connection")) return;
|
||||
if (k.startsWith("dnt")) return;
|
||||
if (k.startsWith("host")) return;
|
||||
// if (k.startsWith("sec-")) return;
|
||||
// if (k.startsWith("connection")) return;
|
||||
// if (k.startsWith("dnt")) return;
|
||||
// if (k.startsWith("host")) return;
|
||||
headers[k] = v;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue