Pass headers for links and pixels.

This commit is contained in:
Mike Cao
2025-09-22 14:19:57 -07:00
parent 656fb8a3d1
commit d8b3c8d13c
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
const req = new Request(request.url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
headers: request.headers,
body: JSON.stringify(payload),
});

View File

@@ -27,7 +27,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
const req = new Request(request.url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
headers: request.headers,
body: JSON.stringify(payload),
});