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:
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;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
/**
|
||||
@@ -25,7 +26,7 @@ getWADORSImageId = function(instance) {
|
||||
}
|
||||
|
||||
var image = {
|
||||
uri: instance.wadorsuri,
|
||||
uri: Meteor.absoluteUrl(instance.wadorsuri),
|
||||
//imageId : '',
|
||||
//minPixelValue : 0,
|
||||
//maxPixelValue : 255,
|
||||
|
||||
Reference in new issue
Block a user