mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
parent
f053ce548d
commit
dfdbb773ce
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
|
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); // https://stackoverflow.com/a/23522755
|
||||||
if (isSafari) {
|
if (isSafari) {
|
||||||
supportedImageMimeTypes.add('image/heic').add('image/heif');
|
supportedImageMimeTypes.add('image/heic').add('image/heif').add('image/jxl');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue