Mercurial > hg > orthanc-ohif
changeset 20:03e71bc320c4
update OHIF to 3.7.0 + default config to avoid transcoding
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 16 Nov 2023 17:42:24 +0100 |
parents | 1bda8ea224de |
children | 2bb1c5347aca |
files | NEWS Resources/CreateOHIFDist.sh Sources/app-config-system.js |
diffstat | 3 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Mon Nov 13 21:33:44 2023 +0100 +++ b/NEWS Thu Nov 16 17:42:24 2023 +0100 @@ -1,6 +1,9 @@ Pending changes in the mainline =============================== +* Updated OHIF to 3.7.0 +* The default configuration has been adapted to avoid unneccesary transcoding + on Orthanc side. * Patch to make the build of static assets reproducible, following a suggestion by Bernhard M. Wiedemann (bwiedemann@suse.de)
--- a/Resources/CreateOHIFDist.sh Mon Nov 13 21:33:44 2023 +0100 +++ b/Resources/CreateOHIFDist.sh Thu Nov 16 17:42:24 2023 +0100 @@ -28,7 +28,7 @@ set -ex if [ "$1" = "" ]; then - PACKAGE=Viewers-3.6.0 + PACKAGE=Viewers-3.7.0 else PACKAGE=$1 fi @@ -51,7 +51,8 @@ if [ ! -f "${ROOT_DIR}/OHIF/${PACKAGE}.tar.gz" ]; then mkdir -p "${ROOT_DIR}/OHIF" ( cd ${ROOT_DIR}/OHIF && \ - wget https://orthanc.uclouvain.be/third-party-downloads/OHIF/${PACKAGE}.tar.gz ) + wget https://github.com/OHIF/Viewers/archive/refs/tags/v3.7.0.tar.gz --output-document Viewers-3.7.0.tar.gz ) + # wget https://orthanc.uclouvain.be/third-party-downloads/OHIF/${PACKAGE}.tar.gz ) fi mkdir -p ${ROOT_DIR}/OHIF/dist/
--- a/Sources/app-config-system.js Mon Nov 13 21:33:44 2023 +0100 +++ b/Sources/app-config-system.js Thu Nov 16 17:42:24 2023 +0100 @@ -27,7 +27,8 @@ supportsFuzzyMatching: false, supportsWildcard: true, staticWado: true, - singlepart: 'bulkdata' + singlepart: 'bulkdata,pdf,video', + acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*'] } } ];