Skip to content

Commit

Permalink
added: avif support (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhabaj authored and dg committed Jul 30, 2023
1 parent 9f8486f commit a366e28
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 a366e28

Please sign in to comment.