2023-04-11 16:02:54 +02:00

6 lines
156 B
TypeScript

import type { RequestHandler } from './$types';
export const GET = (async ({ fetch }) => {
return await fetch('api/posts');
}) satisfies RequestHandler;