/** * API Configuration * Determines the backend URL based on environment */ export function getBackendUrl(): string { // In production (Docker), use the backend service name // In development, use localhost const isProduction = process.env.NODE_ENV === 'production' return isProduction ? 'http://backend:8000' : 'http://localhost:8000' }