import sitemapConfig from "@/lib/sitemap-config.generated.json"; const headers = { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Methods": "GET, OPTIONS", "Access-Control-Allow-Headers": "Content-Type", "Cache-Control": "public, max-age=60", "Content-Type": "application/json; charset=utf-8", }; export async function OPTIONS() { return new Response(null, { status: 204, headers }); } export async function GET() { return Response.json(sitemapConfig, { headers }); }