We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afd474 commit cad3584Copy full SHA for cad3584
packages/mgt-element/src/utils/Batch.ts
@@ -189,6 +189,8 @@ export class Batch implements IBatch {
189
response.content = 'data:image/jpeg;base64,' + r.body;
190
} else if (r.headers['Content-Type'].includes('image/pjpeg')) {
191
response.content = 'data:image/pjpeg;base64,' + r.body;
192
+ } else if (r.headers['Content-Type'].includes('image/png')) {
193
+ response.content = 'data:image/png;base64,' + r.body;
194
} else {
195
response.content = r.body;
196
}
0 commit comments