blob: e5bb249c09f5f7df352cde1bffde7fbd8d807dcc (
plain)
1
2
3
4
5
6
|
import { fetchApi } from '$lib/api'
import type { PageLoad } from './$types'
export const load = (async ({ fetch }) => {
return await fetchApi(`items`, fetch).then(r => r.json())
}) satisfies PageLoad
|