import { NextResponse } from "next/server"; import { demoVacancies } from "@/lib/demo-data/vacancies"; export async function GET() { // In a real application, you would fetch this data from your CMS (Directus) // For now, we use the demo data const openVacancies = demoVacancies.filter((v) => v.status === "Open"); return NextResponse.json(openVacancies); }