import type { PageServerLoad } from './$types';

export const load: PageServerLoad = async ({ fetch }) => {
	const res = await fetch('/api/fitness/exercises');
	return {
		exercises: await res.json()
	};
};
