Skip to content

Commit

Permalink
feat: testing hix for server action headers
Browse files Browse the repository at this point in the history
  • Loading branch information
z4nr34l committed Nov 20, 2024
1 parent 024512e commit ea4f374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nemo/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function createMiddleware(
if (middlewareResponse instanceof Response) return middlewareResponse;
}

return NextResponse.next({ request, headers: request.headers });
return NextResponse.next({ headers: new Headers(request.headers) });
};
}

Expand Down

0 comments on commit ea4f374

Please sign in to comment.