fix(headers): Add all extra headers to WADO image loader (#3405)
This commit is contained in:
parent
856538537d
commit
f2004aee9e
@ -69,8 +69,8 @@ export default function initWADOImageLoader(
|
||||
// 'multipart/related; type="image/x-jls", multipart/related; type="image/jls"; transfer-syntax="1.2.840.10008.1.2.4.80", multipart/related; type="image/x-jls", multipart/related; type="application/octet-stream"; transfer-syntax=*',
|
||||
};
|
||||
|
||||
if (headers && headers.Authorization) {
|
||||
xhrRequestHeaders.Authorization = headers.Authorization;
|
||||
if (headers) {
|
||||
Object.assign(xhrRequestHeaders, headers);
|
||||
}
|
||||
|
||||
return xhrRequestHeaders;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user