mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
12 lines
291 B
TypeScript
12 lines
291 B
TypeScript
import { getLLMText } from "@/lib/get-llm-text";
|
|
import { source } from "@/lib/source";
|
|
|
|
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"));
|
|
}
|