initial version of the app
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import { deleteSession } from '@/lib/session';
|
||||
|
||||
export async function POST() {
|
||||
await deleteSession();
|
||||
return NextResponse.json({ message: 'Logout successful' });
|
||||
}
|
||||
Reference in New Issue
Block a user