first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { clearAuthCookie } from "@/lib/auth";
|
||||
|
||||
export async function POST() {
|
||||
const response = NextResponse.json({ ok: true });
|
||||
clearAuthCookie(response);
|
||||
return response;
|
||||
}
|
||||
Reference in New Issue
Block a user