Mercurial > hg > orthanc-ohif
view Sources/app-config-system.js @ 100:dfcabfda2bfb default tip
only execute github action from the expected mirror repo
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Mon, 10 Aug 2026 10:26:14 +0200 |
| parents | 0bb4079b925a |
| children |
line wrap: on
line source
/** * SPDX-FileCopyrightText: 2023-2026 Sebastien Jodogne, ICTEAM UCLouvain, Belgium, * and 2018-2026 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,video', acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'], // whether the data source should use retrieveBulkData to grab metadata, // and in case of relative path, what would it be relative to, options // are in the series level or study level (some servers like series some study) bulkDataURI: { enabled: true, relativeResolution: 'studies', } } } ]; 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'; }
