[P4] fix: use placeholder Supabase URL to prevent build-time crash

↗ view on GitHub · Dshamir · 2026-05-23 · d52b4e52

The Supabase client was created with an empty string URL when env vars
were missing, causing createClient to throw during Next.js static page
generation. Uses placeholder values that safely no-op at build time.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository Dshamir/AI-Legal
Author Dshamir <dshamir@blucap.ca>
Authored
Parents 87b7d2c2
Stats 1 file changed , +2 , -3
Part of Frontend hardening: auth middleware, error tracking, accessibility

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-d52b4e52.md from inside the repo you want the change in.

⬇ Download capture-commit-d52b4e52.md