mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-18 10:56:38 +00:00
Filtering on all tables
This commit is contained in:
@@ -80,10 +80,12 @@ async function makeApiRequest<T>(
|
||||
|
||||
const headersList = await reqHeaders();
|
||||
const host = headersList.get("host");
|
||||
const xForwardedFor = headersList.get("x-forwarded-for");
|
||||
|
||||
const headers: Record<string, string> = {
|
||||
"Content-Type": "application/json",
|
||||
"X-CSRF-Token": "x-csrf-protection",
|
||||
...(xForwardedFor ? { "X-Forwarded-For": xForwardedFor } : {}),
|
||||
...(cookieHeader && { Cookie: cookieHeader }),
|
||||
...additionalHeaders
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user