fix(wado-proxy): Use wado proxy to retrieve images if enabled in configuration

This commit is contained in:
Evren Ozkan committed 2019-05-01 11:27:53 -04:00
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});