Files
davila7__claude-code-templates/dashboard/astro.config.mjs
Dani 571986c94c fix: Resolve SSR fetch for components.json on Vercel
- Set site: 'https://www.aitmpl.com' in astro.config.mjs so import.meta.env.SITE is defined
- Server-side fetch resolves relative /components.json URL using SITE, VERCEL_URL, or localhost fallback
- Fixes "fetch failed" error on component detail pages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:08:20 -05:00

406 B