import { NextResponse } from "next/server"; import { getAllGlossaryEntries } from "@/lib/api"; export async function GET() { const entries = await getAllGlossaryEntries(); return NextResponse.json(entries); }