Basic post display

This commit is contained in:
2023-04-01 14:31:29 +02:00
parent dccb94a792
commit d2f2214d65
13 changed files with 4325 additions and 2891 deletions

8
src/routes/+server.ts Normal file
View File

@ -0,0 +1,8 @@
import { TimelineReader } from '$lib/server/timeline';
import type { RequestHandler } from './$types';
TimelineReader.init();
export const GET = (async ({ fetch }) => {
return await fetch('api/posts');
}) satisfies RequestHandler;