mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 23:00:57 +00:00
feat: switch API base URL to localhost for development and fix shipping line ID handling in booking form
- Changed API_BASE_URL from production to localhost in both backoffice and portal configurations. - Updated booking form to use shipping line ID instead of name throughout the flow. - Fixed Step1ContractType to set shipping line ID when loading existing booking. - Updated Step4Route to key shipping line options by ID as required by API. - Enhanced Step8Review to display shipping line name by
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
|
||||
// export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
|
||||
|
||||
// export const API_BASE_URL = 'http://localhost:3001';
|
||||
export const API_BASE_URL = 'http://localhost:3001';
|
||||
|
||||
Reference in New Issue
Block a user