Request options are now properly passed into WADO Proxy (LT-165)
This commit is contained in:
1 parent
c05e36eca8
commit
ed8bb26fa4
8 files changed
+64
-31
No files matched your search
@@ -1,8 +1,12 @@
|
||||
WADOProxy = {};
|
||||
|
||||
WADOProxy.convertURL = function(wadoURL) {
|
||||
WADOProxy.convertURL = (wadoURL, requestOptions) => {
|
||||
if (!Settings.enabled) {
|
||||
return wadoURL;
|
||||
}
|
||||
return Settings.uri + '?' + querystring.stringify({url: wadoURL});
|
||||
if (!wadoURL) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return Settings.uri + '?' + querystring.stringify({url: wadoURL, options: requestOptions ? JSON.stringify(requestOptions) : null});
|
||||
}
|
||||
Reference in new issue
Block a user