Skip to content

Commit

Permalink
Allow WebP and SVG content types in PhotoCache
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Sánchez de León Peque <peque@ieco.io>
  • Loading branch information
Peque committed Oct 22, 2024
1 parent 8e4ac51 commit 0901dc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dav/lib/CardDAV/PhotoCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class PhotoCache {
'image/jpeg' => 'jpg',
'image/gif' => 'gif',
'image/vnd.microsoft.icon' => 'ico',
'image/svg+xml' => 'svg',
'image/webp' => 'webp',
];

/**
Expand Down

0 comments on commit 0901dc1

Please sign in to comment.