| 1 | import { env } from "cloudflare:workers"; |
| 2 | |
| 3 | export const prerender = false; |
| 4 | |
| 5 | export function GET() { |
| 6 | return Response.json({ |
| 7 | value: (env as Record<string, unknown>).FIXTURE_VALUE ?? null, |
| 8 | hasAssetsBinding: |
| 9 | typeof (env as { ASSETS?: { fetch?: unknown } }).ASSETS?.fetch === |
| 10 | "function", |
| 11 | }); |
| 12 | } |