import { env } from "cloudflare:workers";

export const dynamic = "force-dynamic";

export async function GET() {
  const runtime = env as unknown as Record<string, unknown>;
  return Response.json({ environment: runtime.APP_ENV === "production" ? "production" : "test" });
}
