mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
display jxl original
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user