Skip to content

Commit

Permalink
fix: mediaType to avoid preflight requests (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi authored Dec 24, 2021
1 parent a5b88bc commit 37b076d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageLoader/wadors/loadImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function loadImage(imageId, options = {}) {
// const mediaType = 'multipart/related; type="image/x-jls"';
// const mediaType = 'multipart/related; type="application/octet-stream"; transfer-syntax="image/x-jls"';
const mediaType =
'multipart/related; type="application/octet-stream"; transfer-syntax=*';
'multipart/related; type=application/octet-stream; transfer-syntax=*';
// const mediaType =
// 'multipart/related; type="image/jpeg"; transfer-syntax=1.2.840.10008.1.2.4.50';

Expand Down

0 comments on commit 37b076d

Please sign in to comment.