// API host is env-driven (set VITE_API_URL per environment, e.g. the remote // https://edrfreightapi.triaplc.com for prod). Falls back to the local API for dev. export const API_BASE_URL = (import.meta.env.VITE_API_URL as string | undefined) ?? 'http://localhost:3001';