Skip to content

Commit

Permalink
added: avif support (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhabaj committed May 22, 2023
1 parent 540335c commit 7a92a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/FileUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7a92a2a

Please sign in to comment.