mirror of
https://github.com/dathere/ckanaction.git
synced 2025-12-19 08:49:26 +00:00
12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
import { getLLMText } from "@/lib/get-llm-text";
|
|
import { source } from "@/lib/source";
|
|
|
|
// cached forever
|
|
export const revalidate = false;
|
|
|
|
export async function GET() {
|
|
const scan = source.getPages().map(getLLMText);
|
|
const scanned = await Promise.all(scan);
|
|
|
|
return new Response(scanned.join("\n\n"));
|
|
}
|