import { NextResponse } from "next/server";
import { adminSessionCookie } from "@/lib/admin/auth";

export async function POST() {
  const response = NextResponse.json({ message: "Abgemeldet." });
  response.cookies.set(adminSessionCookie, "", { path: "/", maxAge: 0 });
  return response;
}
