// app/api/privacy-summary/route.ts
import { NextResponse } from "next/server";

export async function GET() {
  const res = await fetch("http://localhost:8000/privacy-summary", {
    method: "GET",
    // forward cookies/headers if needed:
    // credentials: "include",
  });

  // Forward the JSON payload directly
  const data = await res.json();
  return NextResponse.json(data);
}
