fix: CalendarPage API calls use relative URLs (not localhost:8000)

All fetch() calls now use relative paths (/api/eco/...) so nginx
can proxy them to the backend container in production.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OpenSquared
2026-06-26 15:00:56 +02:00
parent 77b3a27495
commit 2469b76769

View File

@@ -77,7 +77,7 @@ const SORT_OPTIONS = [
{ id: 'series', label: 'Série' },
]
const API_BASE = 'http://localhost:8000'
const API_BASE = ''
// ── Helpers ───────────────────────────────────────────────────────────────────