mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-21 16:01:32 +00:00
11 lines
257 B
TypeScript
11 lines
257 B
TypeScript
import { getLLMText, 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'));
|
|
}
|