This commit is contained in:
Rizky 2024-06-21 12:52:37 +07:00
parent f771d51110
commit c0e042ce0d
1 changed files with 4 additions and 4 deletions

View File

@ -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;
});