Files
Lucas RayanandClaude Sonnet 5.5 7d0edf13c4
CI / Lint, design e build (push) Successful in 1m52s
CI / Trivy (dependências e segredos) (push) Successful in 12s
CI / Imagem Docker (push) Successful in 2m26s
feat: site search with a dialog in the header and a /api/busca endpoint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 08:02:57 -03:00

13 lines
341 B
JavaScript

import { construirIndiceBusca } from "@/lib/searchIndex";
export const dynamic = "force-static";
/** Índice de busca carregado sob demanda pelo diálogo de pesquisa (Ctrl/⌘+K). */
export function GET() {
return Response.json(construirIndiceBusca(), {
headers: {
"Cache-Control": "no-cache, no-store, must-revalidate",
},
});
}