Fixes for using OHIF Viewer against https site over DICOMWeb

This commit is contained in:
Erik Ziegler committed 2017-04-12 12:03:32 +02:00
1 parent 143d65b8c8
commit 7ec1c60bc5
12 files changed
+179 -64

No files matched your search

@@ -9,8 +9,6 @@ export function getWADORSImageUrl(instance, frame) {
frame = (frame || 0) + 1;
// Replaces /frame/1 by /frame/{frame}
// TODO: Maybe should be better to export the WADOProxy to be able to use it on client
// Example: WADOProxy.convertURL(baseWadoRsUri + '/frame/' + frame)
wadorsuri = wadorsuri.replace(/(%2Fframes%2F)(\d+)/, `$1${frame}`);
return wadorsuri;