Dashboard enhancement

This commit is contained in:
Hagernesh
2026-06-19 10:55:03 +00:00
parent f32d3d76e3
commit e40318c847
20 changed files with 563 additions and 28 deletions

View File

@@ -1,3 +1,4 @@
export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
// export const API_BASE_URL = 'http://localhost:3001';
// 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';