OHIF-149 The viewer shall allow the root URL to be changed - WIP

- Use absoluteUrl for hard-coded paths in html and js
This commit is contained in:
Evren Ozkan committed 2017-01-10 13:09:43 -05:00
1 parent a91894c42d
commit 76ebe11c8e
20 files changed
+42 -31

No files matched your search

@@ -1,3 +1,5 @@
import { Meteor } from "meteor/meteor";
/**
* Obtain an imageId for Cornerstone from an image instance
*
@@ -14,7 +16,7 @@ getImageId = function(instance, frame) {
}
if (instance.wadouri) {
var imageId = 'dicomweb:' + instance.wadouri; // WADO-URI;
var imageId = 'dicomweb:' + Meteor.absoluteUrl(instance.wadouri); // WADO-URI;
if (frame !== undefined) {
imageId += '&frame=' + frame;
}