import { NextRequest, NextResponse } from 'next/server';

export async function POST(req: NextRequest) {
  // In a real app, invalidate JWT on server or clear session.
  // For this mock, no server-side action is strictly needed as client manages localStorage token and cookie.
  return NextResponse.json({ message: 'Logout successful' }, { status: 200 });
}