import axios from 'axios'; const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:3001'; export const cargoTypesService = { async getCargoTypes() { const { data } = await axios.get(`${API_URL}/api/cargo-types`); return data; }, };