Skip to content

Commit fec8813

Browse files
committed
Added JPEG XL MIME type
Signed-off-by: Peter Kovář <[email protected]>
1 parent aad4e79 commit fec8813

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/dav/lib/Avatars/AvatarNode.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ public function get() {
8080
public function getContentType() {
8181
if ($this->ext === 'png') {
8282
return 'image/png';
83+
} elseif ($this->ext === 'jxl') {
84+
return 'image/jxl';
8385
}
84-
return 'image/jpeg';
86+
return 'image/jpeg';
8587
}
8688

8789
public function getETag() {

0 commit comments

Comments
 (0)