mirror of
https://github.com/hanzoai/frames.git
synced 2026-09-24 00:08:03 +00:00
import.meta.env is undefined in Next.js Turbopack/Webpack, causing "Cannot read properties of undefined" when the studio telemetry client loads. Wrap accesses in try-catch so they gracefully fall back. Also hardcode the PostHog API key and host — they're public write-only values with no reason to be overridable via env.