mirror of
https://github.com/OwethuManagedServices/oms-website-nextjs.git
synced 2025-12-17 18:58:10 +00:00
10 lines
367 B
TypeScript
10 lines
367 B
TypeScript
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);
|
|
}
|