From a366e28f70ef11bfd63597672151d074bcd23297 Mon Sep 17 00:00:00 2001 From: Jakub Habaj <55027992+jhabaj@users.noreply.github.com> Date: Mon, 22 May 2023 12:40:03 +0200 Subject: [PATCH] added: avif support (#224) --- src/Http/FileUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/FileUpload.php b/src/Http/FileUpload.php index 7830a1e4..a63fc0ed 100644 --- a/src/Http/FileUpload.php +++ b/src/Http/FileUpload.php @@ -29,7 +29,7 @@ final class FileUpload { use Nette\SmartObject; - public const ImageMimeTypes = ['image/gif', 'image/png', 'image/jpeg', 'image/webp']; + public const ImageMimeTypes = ['image/gif', 'image/png', 'image/jpeg', 'image/webp', 'image/avif']; /** @deprecated use FileUpload::ImageMimeTypes */ public const IMAGE_MIME_TYPES = self::ImageMimeTypes;