feat: add architecture, api routes and components
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export async function POST() {
|
||||
const response = NextResponse.json({ success: true });
|
||||
|
||||
// Hard delete the cookie
|
||||
response.cookies.delete('admin_session');
|
||||
|
||||
return response;
|
||||
}
|
||||
Reference in New Issue
Block a user