view Sources/app-config-system.js @ 2:cbc4be362700

added configuration option "RouterBasename"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 15 Jun 2023 16:37:05 +0200
parents 39585ba26f20
children 8c1fe0ca24f5
line wrap: on
line source

/**
 * SPDX-FileCopyrightText: 2023 Sebastien Jodogne, UCLouvain, Belgium,
 * and 2018-2023 Open Health Imaging Foundation
 * SPDX-License-Identifier: MIT
 */

window.config.routerBasename = '${ROUTER_BASENAME}';

window.config.dataSources = [
  {
    friendlyName: 'Orthanc',
    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'
    }
  }
];

window.config.defaultDataSourceName = 'dicomweb';