mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
10 lines
267 B
TypeScript
10 lines
267 B
TypeScript
import axios from 'axios';
|
|
|
|
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:3001';
|
|
|
|
export const containerTypesService = {
|
|
async getContainerTypes() {
|
|
const { data } = await axios.get(`${API_URL}/api/container-types`);
|
|
return data;
|
|
},
|
|
}; |