fix(web): display jxl original (#24766)

display jxl original
pull/24778/head
Mert 2025-12-21 21:10:22 +07:00 committed by GitHub
parent f053ce548d
commit dfdbb773ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -353,7 +353,7 @@ const supportedImageMimeTypes = new Set([
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); // https://stackoverflow.com/a/23522755
if (isSafari) {
supportedImageMimeTypes.add('image/heic').add('image/heif');
supportedImageMimeTypes.add('image/heic').add('image/heif').add('image/jxl');
}
/**