initial commit

This commit is contained in:
Zacharias-Brohn
2026-01-14 06:12:55 +01:00
commit d702390660
46 changed files with 21386 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { NextResponse } from 'next/server';
export async function POST() {
const response = NextResponse.json({ message: 'Logged out successfully' }, { status: 200 });
response.cookies.set('token', '', {
httpOnly: true,
secure: process.env.NODE_ENV === 'production',
sameSite: 'strict',
maxAge: 0, // Expire immediately
path: '/',
});
return response;
}