next build's "Collecting page data" pass kept invoking the GET
handler at build time, which hit the env proxy with no
DATABASE_URL and threw ZodError again — this time on /api/qr,
since /api/events was already force-dynamic.
Mark the qr route force-dynamic + runtime=nodejs so Next skips the
build-time call. Same pattern as /api/events.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>