Mercurial > hg > orthanc-ohif
view Sources/app-config-system.js @ 50:7a0d9fab6ae8 OrthancOHIF-1.3
1.3
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 12 Jul 2024 15:48:31 +0200 |
parents | 36049c04ee27 |
children |
line wrap: on
line source
/** * SPDX-FileCopyrightText: 2023-2024 Sebastien Jodogne, UCLouvain, Belgium, * and 2018-2024 Open Health Imaging Foundation * SPDX-License-Identifier: MIT */ window.config.routerBasename = '${ROUTER_BASENAME}'; if (${USE_DICOM_WEB}) { window.config.dataSources = [ { friendlyName: 'Orthanc DICOMweb', namespace: '@ohif/extension-default.dataSourcesModule.dicomweb', sourceName: 'dicomweb', configuration: { name: 'orthanc', wadoUriRoot: '../dicom-web', qidoRoot: '../dicom-web', wadoRoot: '../dicom-web', qidoSupportsIncludeField: false, supportsReject: false, imageRendering: 'wadors', thumbnailRendering: 'wadors', enableStudyLazyLoad: true, supportsFuzzyMatching: false, supportsWildcard: true, staticWado: true, singlepart: 'bulkdata,pdf,video', acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'] } } ]; window.config.defaultDataSourceName = 'dicomweb'; } else { window.config.showStudyList = false; window.config.dataSources = [ { friendlyName: 'Orthanc DICOM JSON', namespace: '@ohif/extension-default.dataSourcesModule.dicomjson', sourceName: 'dicomjson', configuration: { name: 'json', }, } ]; window.config.defaultDataSourceName = 'dicomjson'; }