Skip to content

Commit dfdbb77

Browse files
authored
fix(web): display jxl original (#24766)
display jxl original
1 parent f053ce5 commit dfdbb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/lib/utils/asset-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const supportedImageMimeTypes = new Set([
353353

354354
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); // https://stackoverflow.com/a/23522755
355355
if (isSafari) {
356-
supportedImageMimeTypes.add('image/heic').add('image/heif');
356+
supportedImageMimeTypes.add('image/heic').add('image/heif').add('image/jxl');
357357
}
358358

359359
/**

0 commit comments

Comments
 (0)