1
0

route.ts 257 B

12345678910
  1. import { getLLMText, source } from '@/lib/source';
  2. export const revalidate = false;
  3. export async function GET() {
  4. const scan = source.getPages().map(getLLMText);
  5. const scanned = await Promise.all(scan);
  6. return new Response(scanned.join('\n\n'));
  7. }