import { NextResponse } from "next/server"; import { isAdminAuthenticated } from "@/lib/admin-auth"; export async function GET() { const authenticated = await isAdminAuthenticated(); if (!authenticated) { return NextResponse.json({ message: "Unauthorized" }, { status: 401 }); } return NextResponse.json({ ok: true }); }