Skip to content

Commit a366e28

Browse files
jhabajdg
authored andcommitted
added: avif support (#224)
1 parent 9f8486f commit a366e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/FileUpload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class FileUpload
2929
{
3030
use Nette\SmartObject;
3131

32-
public const ImageMimeTypes = ['image/gif', 'image/png', 'image/jpeg', 'image/webp'];
32+
public const ImageMimeTypes = ['image/gif', 'image/png', 'image/jpeg', 'image/webp', 'image/avif'];
3333

3434
/** @deprecated use FileUpload::ImageMimeTypes */
3535
public const IMAGE_MIME_TYPES = self::ImageMimeTypes;

0 commit comments

Comments
 (0)