Mercurial > hg > orthanc-ohif
changeset 61:0709b334484b
fix pdf display
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 16 Jan 2025 18:38:31 +0100 (4 months ago) |
parents | cadc2ec2eb9e |
children | 31d5e11a19af |
files | NEWS Sources/app-config-system.js |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Thu Jan 16 18:37:42 2025 +0100 +++ b/NEWS Thu Jan 16 18:38:31 2025 +0100 @@ -2,6 +2,8 @@ =============================== * Updated OHIF to 3.9.2 +* In "dicom-web" DataSource, fixed the default app-config.js configuration + to enable display of PDFs. * Updated cached "dicom-json" version to 2. This means that, when using the "dicom-json" source, the cached metadata must be recomputed the first time you open a study.
--- a/Sources/app-config-system.js Thu Jan 16 18:37:42 2025 +0100 +++ b/Sources/app-config-system.js Thu Jan 16 18:38:31 2025 +0100 @@ -27,8 +27,11 @@ supportsFuzzyMatching: false, supportsWildcard: true, staticWado: true, - singlepart: 'bulkdata,pdf,video', - acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'] + singlepart: 'bulkdata', + acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'], + bulkDataURI: { // to remove once 3.9.2+ is released (https://github.com/OHIF/Viewers/issues/4256) + enabled: true + } } } ];