next.js/test/e2e/app-dir/use-cache-route-handler-only/app/revalidate/route.ts
route.ts8 lines150 B
import { revalidatePath } from 'next/cache'

export async function POST() {
  revalidatePath('/node')

  return new Response(null, { status: 204 })
}
Quest for Codev2.0.0
/
SIGN IN