// Dynamic API URL resolution for local and production environments export const API_BASE_URL = (import.meta.env.VITE_API_URL as string) || (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1' ? 'http://127.0.0.1:8000' : window.location.origin);