first commit

This commit is contained in:
mstfyldz
2026-08-16 17:18:23 +03:00
commit 5ace6898b6
61 changed files with 12065 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { NextResponse } from "next/server";
import { COOKIE_NAME } from "@/lib/auth";
export async function POST() {
const response = NextResponse.json({
success: true,
message: "Çıkış yapıldı",
});
response.cookies.set({
name: COOKIE_NAME,
value: "",
httpOnly: true,
expires: new Date(0),
path: "/",
});
return response;
}