Make sure we're setting our bearer token; not basic auth

This commit is contained in:
dannyrb 2019-05-08 13:03:17 -04:00
parent 5e8f5360b6
commit acbb593cec

View File

@ -13,11 +13,14 @@ window.config = {
qidoSupportsIncludeField: false,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
// REQUIRED TAG:
// https://github.com/OHIF/ohif-core/blob/59e1e04b92be24aee5d4402445cb3dcedb746995/src/studies/retrieveStudyMetadata.js#L54
requestOptions: {
auth: 'orthanc:orthanc',
logRequests: true,
logResponses: false,
logTiming: true,
// auth: 'orthanc:orthanc', // undefined to use JWT + Bearer auth
requestFromBrowser: true,
// logRequests: true,
// logResponses: false,
// logTiming: true,
},
},
],