fix(wado-proxy): Use wado proxy to retrieve images if enabled in configuration
This commit is contained in:
1 parent
46ed339579
commit
7ff9a87b6e
4 files changed
+12
-2
No files matched your search
@@ -11,6 +11,10 @@ WADOProxy.convertURL = (url, serverConfiguration) => {
|
||||
}
|
||||
|
||||
const { settings } = WADOProxy;
|
||||
if (!settings.enabled) {
|
||||
return url;
|
||||
}
|
||||
|
||||
const serverId = serverConfiguration._id;
|
||||
const query = queryString.stringify({url, serverId});
|
||||
|
||||
|
||||
Reference in new issue
Block a user