Skip to content

Commit defc45f

Browse files
committed
Fixes #3435 - Update image/ response types to create a proper blob url from the content returned.
1 parent 8bf9037 commit defc45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/response-body.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class ResponseBody extends React.Component {
4040

4141
// Image
4242
} else if (/^image\//i.test(contentType)) {
43-
bodyEl = <img src={ url } />
43+
bodyEl = <img src={ window.URL.createObjectURL(content) } />
4444

4545
// Audio
4646
} else if (/^audio\//i.test(contentType)) {

0 commit comments

Comments
 (0)