sailfork / t3code-github / .repos/ alchemy-effect/ examples/ cloudflare-website-sveltekit/ src/ routes/ +page.server.ts
// Typed without `./$types` so the example type-checks before the first
// build (SvelteKit's generated types only exist after `svelte-kit sync`).
export const load = ({ platform }: { platform?: App.Platform }) => {
return {
greeting: platform?.env?.GREETING ?? "Hello!",
};
};