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

+1 -12
View File
@@ -1,12 +1 @@
WADOProxy = {};
WADOProxy.convertURL = (wadoURL, requestOptions) => {
if (!Settings.enabled) {
return wadoURL;
}
if (!wadoURL) {
return null;
}
return Settings.uri + '?' + querystring.stringify({url: wadoURL, options: requestOptions ? JSON.stringify(requestOptions) : null});
}
WADOProxy = {};