You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(astro): Fix compatibility with Astro v6 Cloudflare adapter
Astro v6's Cloudflare adapter removed `locals.runtime.env`, which causes
`@clerk/astro` to crash. This adds a fallback that imports env from
`cloudflare:workers` when `locals.runtime.env` is unavailable, while
maintaining backwards compatibility with Astro v4/v5.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments