blob: 85435b15550e38a5a06e1c276bdf6f3a76d93a92 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/** @type {import('./$types').PageLoad} */
// export async function load({ fetch, params }) {
// const res = await fetch(`/api/v1/list`);
// const item = await res.json();
//
// return { item };
// }
/** @type {import('./$types').PageLoad} */
// export async function load({ params }) {
// const req = await fetch(`http://localhost:6130/api/v1/list`)
// const reqJson = await req.json();
//
// return {
// req: req,
// reqJson: reqJson,
// };
// }
|