aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sánchez de León Peque <peque@ieco.io>2024-12-28 01:59:37 +0100
committerRichard Steinmetz <richard@steinmetz.cloud>2025-03-03 11:47:27 +0100
commita54c04ede6b67034a10c641fababecec90fffd03 (patch)
tree929c42eef75d7ee14531ca0887bd8fad944b559d
parentafae742a2b7ccc75a7b2a1380b8d9491a971f123 (diff)
downloadnextcloud-server-feat/photo-cache-avif.tar.gz
nextcloud-server-feat/photo-cache-avif.zip
feat: Allow AVIF content type in PhotoCachefeat/photo-cache-avif
Signed-off-by: Miguel Sánchez de León Peque <peque@ieco.io>
-rw-r--r--apps/dav/lib/CardDAV/PhotoCache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php
index 7afbbf68a22..2f1999b6b1c 100644
--- a/apps/dav/lib/CardDAV/PhotoCache.php
+++ b/apps/dav/lib/CardDAV/PhotoCache.php
@@ -27,6 +27,7 @@ class PhotoCache {
'image/gif' => 'gif',
'image/vnd.microsoft.icon' => 'ico',
'image/webp' => 'webp',
+ 'image/avif' => 'avif',
];
/**