main
ts 8 lines 219 Bytes
Raw
1 import * as cf from "cloudflare:workers";
2 import type { WebsiteEnv } from "../alchemy.run.ts";
3
4 export const env = new Proxy({} as WebsiteEnv, {
5 get(_, prop) {
6 return cf.env[prop as keyof typeof cf.env];
7 },
8 });