import { NextResponse } from "next/server";
import { getAllProjects } from "@/lib/autobuilder";

export const dynamic = "force-dynamic";

export async function GET() {
  const projects = await getAllProjects();
  return NextResponse.json(projects);
}
