Skip to content

Commit 65e5142

Browse files
committed
Fix cache revalidation
1 parent ac1661b commit 65e5142

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/%5Fcache/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { type NextRequest } from 'next/server';
22
import { revalidatePath } from 'next/cache';
33
import { redirect } from 'next/navigation';
44

5+
export const dynamic = 'force-dynamic';
6+
57
export async function GET(request: NextRequest) {
68
const searchParams = request.nextUrl.searchParams;
79
const queryparam = searchParams.get('path');

0 commit comments

Comments
 (0)