fix(recovery): restore source removed by production documentation merge

This commit is contained in:
2026-11-10 03:42:10 +01:00
parent 585bdd4b44
commit 3d2fc6f913
957 changed files with 115754 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { NextResponse } from "next/server";
import { SESSION_COOKIE } from "@/lib/auth";
// POST /api/auth/logout — clear the session cookie.
export async function POST() {
const res = NextResponse.json({ ok: true });
res.cookies.set(SESSION_COOKIE, "", { path: "/", maxAge: 0 });
return res;
}