ohif-viewer/OHIFViewer/defaultSettings.js
2016-08-04 16:47:10 +02:00

45 lines
1.4 KiB
JavaScript

import { Meteor } from 'meteor/meteor';
Meteor.startup(function() {
if (Object.keys(Meteor.settings).length > 1) {
console.log('Using custom LesionTracker settings: ');
console.log(Meteor.settings);
return;
}
Meteor.settings = {
servers: {
dicomWeb: [{
name: 'Orthanc',
wadoUriRootNOTE: 'either this uri is not correct for wado-uri or wado-uri is not configured on orthanc currently',
wadoUriRoot: 'http://localhost:8043/wado',
qidoRoot: 'http://localhost:8042/dicom-web',
wadoRoot: 'http://localhost:8042/dicom-web',
qidoSupportsIncludeField: false,
imageRendering: 'wadouri',
requestOptions: {
auth: 'orthanc:orthanc',
logRequests: true,
logResponses: false,
logTiming: true
}
}],
dimse: [{
name: "ORTHANC_DIMSE",
peers: [{
host: 'localhost',
port: 4242,
hostAE: 'ORTHANC'
}]
}]
},
defaultServiceType: 'dicomWeb',
//defaultServiceType: 'dimse'
public: {
ui: {
studyListFunctionsEnabled: true
}
}
};
});