Repository Public
1import { NextResponse } from "next/server";2import { SESSION_COOKIE } from "@/lib/auth";34export const dynamic = "force-dynamic";56export async function POST() {7 const res = NextResponse.json({ ok: true });8 res.cookies.set(SESSION_COOKIE, "", { httpOnly: true, path: "/", maxAge: 0 });9 return res;10}11