Files
copilotkit__copilotkit/showcase/shell/next.config.ts
Jordan Ritter 22b9050608 fix(showcase/shell): next.config throws on corrupt registry in production; logs in dev
A bare catch swallowed JSON.parse failures, silently returning [] and
making every /<slug> framework redirect disappear. Throw in production
(registry is a required build-time artifact) and console.warn in dev
(so a transient mid-write doesn't kill the dev loop). Also throw if
the file is missing in production for the same reason.
2026-04-20 17:49:57 -07:00

4.7 KiB