mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 13:05:44 +00:00
feat: complete train scheduling integration
This commit is contained in:
10
container-types.service.ts
Normal file
10
container-types.service.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user