Skip to content

Commit

Permalink
200 status code
Browse files Browse the repository at this point in the history
  • Loading branch information
michelebruno committed Jan 7, 2024
1 parent 358204e commit 778f970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/revalidateCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function handler(request: NextRequest) {
}

if (request.method === "OPTIONS" || request.method === "HEAD") {
return Response.json("Preflight run", { status: 204, headers });
return Response.json("Preflight run", { status: 200, headers });
}

if (!data.secret) {
Expand Down

0 comments on commit 778f970

Please sign in to comment.