Files
myeasycms-v2/apps/web
Zaid Marzguioui 49fd6b65b9
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m38s
Workflow / ⚫️ Test (push) Has been skipped
fix(supabase): use internal URL for all server-side clients with cookie name matching
ROOT CAUSE FIX: All server-side Supabase clients (server-client, middleware-client,
server-admin-client) now use SUPABASE_INTERNAL_URL (http://supabase-kong:8000)
when available, with cookieOptions.name set to match the external URL's cookie key
(e.g. sb-myeasycms-auth-token). This gives us:
- Reliable Docker-internal networking (no hairpin NAT through Traefik)
- Correct session cookie matching between browser and server
- No more 500 errors on SSR pages that query Supabase

Reverted per-page try/catch workarounds since root cause is now fixed.
2026-04-01 13:53:59 +02:00
..
2026-03-24 13:40:38 +08:00
2026-02-11 20:42:01 +01:00
2026-03-24 13:40:38 +08:00
2025-04-10 08:41:07 +08:00
2025-01-28 14:19:52 +08:00
2026-03-24 13:40:38 +08:00

Your Application

Write here everything about your application.