mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
9 lines
226 B
TypeScript
9 lines
226 B
TypeScript
import { getLLMText, source } from '@/lib/source';
|
|
|
|
export async function loader() {
|
|
const scan = source.getPages().map(getLLMText);
|
|
const scanned = await Promise.all(scan);
|
|
|
|
return new Response(scanned.join('\n\n'));
|
|
}
|