diff --git a/pkgs/website/src/components/CodeOverlay.astro b/pkgs/website/src/components/CodeOverlay.astro index e931cf924..96d3fdb0e 100644 --- a/pkgs/website/src/components/CodeOverlay.astro +++ b/pkgs/website/src/components/CodeOverlay.astro @@ -319,7 +319,8 @@ const button = document.querySelector('.reveal-button') as HTMLElement | null; const overlay = document.querySelector('.code-overlay') as HTMLElement | null; const scrollableContainer = document.querySelector('.scrollable-content') as HTMLElement | null; - const scrollableInner = document.querySelector('.scrollable-inner') as HTMLElement | null; + // Cast non-null: the guard below protects runtime; hoisted animateScroll can't inherit the narrowing. + const scrollableInner = document.querySelector('.scrollable-inner') as HTMLElement; if (!button || !overlay || !scrollableContainer || !scrollableInner) return; diff --git a/pkgs/website/src/content/docs/deploy/node-bun-process-workers.mdx b/pkgs/website/src/content/docs/deploy/node-bun-process-workers.mdx index 27437231a..ea5253571 100644 --- a/pkgs/website/src/content/docs/deploy/node-bun-process-workers.mdx +++ b/pkgs/website/src/content/docs/deploy/node-bun-process-workers.mdx @@ -69,12 +69,11 @@ Set these variables in your process host: Use `DATABASE_URL` for process hosts when possible. `EDGE_WORKER_DB_URL` remains supported for deployments that share configuration with Supabase Edge Functions. If both are set, `DATABASE_URL` takes priority. -