fix: Microscopy bulkdata and image retrieve (#3894)
This commit is contained in:
1 parent
7014e6ca4a
commit
7fac49b449
6 files changed
+187
-12
No files matched your search
@@ -1,11 +1,5 @@
|
||||
import { api } from 'dicomweb-client';
|
||||
import { errorHandler, DicomMetadataStore } from '@ohif/core';
|
||||
|
||||
const { DICOMwebClient } = api;
|
||||
|
||||
DICOMwebClient._buildMultipartAcceptHeaderFieldValue = () => {
|
||||
return '*/*';
|
||||
};
|
||||
import { StaticWadoClient } from '@ohif/extension-default';
|
||||
|
||||
/**
|
||||
* create a DICOMwebClient object to be used by Dicom Microscopy Viewer
|
||||
@@ -31,7 +25,7 @@ export default function getDicomWebClient({ extensionManager, servicesManager })
|
||||
errorInterceptor: errorHandler.getHTTPErrorHandler(),
|
||||
};
|
||||
|
||||
const client = new api.DICOMwebClient(wadoConfig);
|
||||
const client = new StaticWadoClient(wadoConfig);
|
||||
client.wadoURL = wadoConfig.url;
|
||||
|
||||
if (extensionManager.activeDataSource === 'dicomlocal') {
|
||||
|
||||
Reference in new issue
Block a user