Repository Public
1// Vrai-Prix — méthode du coût : benchmarks externes ($/pi² par type et marché).2import { NextResponse } from "next/server";3import { loadBenchmarks } from "@/lib/cost/catalog";45export const runtime = "nodejs";67export function GET() {8 try {9 return NextResponse.json({ benchmarks: loadBenchmarks() });10 } catch (e) {11 return NextResponse.json({ error: (e as Error).message }, { status: 500 });12 }13}14