Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
export async function load({ fetch }) { | |
const response = await fetch("/api/@me", { | |
method: "GET", | |
headers: { | |
"Content-Type": "application/json" | |
} | |
}) | |
const user = await response.json() | |
return { user } | |
} |