File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
4242 let payload : RevalidateBody = { ...defaultRevalidateOptions } ; // default to full revalidation if body is missing/invalid
4343 try {
4444 const body = ( await req . json ( ) ) as RevalidateBody ;
45- console . log ( 'Parsed request body:' , JSON . stringify ( body ) ) ;
4645 payload = {
4746 ...defaultRevalidateOptions ,
4847 ...body ,
@@ -55,11 +54,6 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
5554 payload = { ...defaultRevalidateOptions } ;
5655 }
5756
58- console . log ( 'Resolved payload:' , JSON . stringify ( payload ) ) ;
59-
60- // For debugging: log the type of revalidation being performed
61- console . log ( `Performing revalidation of type: ${ payload . type } ` ) ;
62-
6357 // NOTE
6458 // revalidatePath = triggers revalidation for entire page cache
6559 // revalidateTag = triggers revalidation for API calls using `unstable_cache` with matching tags (e.g., feed-123, guest-feeds)
You can’t perform that action at this time.
0 commit comments