Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
import { NextResponse } from "next/server";
|
|
import { clearSession } from "@/lib/server-security";
|
|
|
|
export async function POST() {
|
|
await clearSession();
|
|
return NextResponse.json({ ok: true });
|
|
}
|