Files
FTP/app/api/auth/logout/route.ts
asabizanjo 423ce1bc6d gucci
2025-12-11 01:05:24 +00:00

9 lines
200 B
TypeScript

import { NextResponse } from "next/server";
import { clearSessionCookie } from "@/lib/auth";
export async function POST() {
await clearSessionCookie();
return NextResponse.json({ ok: true });
}