diff --git a/platform/core/src/config/TrizRisConfig.ts b/platform/core/src/config/TrizRisConfig.ts index bd9e08f8f..e52c1b8cb 100644 --- a/platform/core/src/config/TrizRisConfig.ts +++ b/platform/core/src/config/TrizRisConfig.ts @@ -1,13 +1,12 @@ -const TRIZRIS_BASE_URL = 'http://localhost:9090/TrizRis'; -const ORTHANC_BASE_URL = 'http://localhost:8042'; +const sharedConfig = require('../../config/trizris.shared'); export const TrizRisConfig = { - apiBaseUrl: `${TRIZRIS_BASE_URL}/api`, - accessUrl: `${TRIZRIS_BASE_URL}/ohif/access`, + apiBaseUrl: `${sharedConfig.TRIZRIS_BASE_URL}/api`, + accessUrl: `${sharedConfig.TRIZRIS_BASE_URL}/ohif/access`, - orthancBaseUrl: ORTHANC_BASE_URL, - orthancDicomWebUrl: `${ORTHANC_BASE_URL}/dicom-web`, - orthancWadoUrl: `${ORTHANC_BASE_URL}/wado`, + orthancBaseUrl: sharedConfig.ORTHANC_BASE_URL, + orthancDicomWebUrl: `${sharedConfig.ORTHANC_BASE_URL}/dicom-web`, + orthancWadoUrl: `${sharedConfig.ORTHANC_BASE_URL}/wado`, - ohifBaseUrl: 'http://localhost:3000', + ohifBaseUrl: sharedConfig.OHIF_BASE_URL, };