From 0f762172bf775ab1d2f15dad6caf6531835cba8a Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Tue, 30 Jun 2026 09:19:32 +0300 Subject: [PATCH] fix: api url backoffice --- apps/edr-freight-web/portal/src/constants/apiConfig.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/edr-freight-web/portal/src/constants/apiConfig.ts b/apps/edr-freight-web/portal/src/constants/apiConfig.ts index b2d93ca3a..40c6c0041 100644 --- a/apps/edr-freight-web/portal/src/constants/apiConfig.ts +++ b/apps/edr-freight-web/portal/src/constants/apiConfig.ts @@ -1,5 +1,5 @@ -//export const API_BASE_URL = 'https://edrfreightapi.triaplc.com'; -export const API_BASE_URL = 'http://localhost:3001'; +export const API_BASE_URL = "https://edrfreightapi.triaplc.com"; +// export const API_BASE_URL = 'http://localhost:3001'; /** * URL that streams an uploaded file through the API by its UUID. Routes the @@ -12,4 +12,3 @@ export function fileViewUrl(fileId: string, download = false): string { const base = `${API_BASE_URL}/api/files/${fileId}`; return download ? `${base}?download=1` : base; } -