Pass headers for links and pixels.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run

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