Skip to content

Commit

Permalink
Cloudflare now supports webp
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Oct 2, 2024
1 parent 6d45f52 commit 2b19065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
class ImageTransformer extends Component implements ImageTransformerInterface
{
public const SUPPORTED_IMAGE_FORMATS = ['jpg', 'jpeg', 'gif', 'png', 'avif'];
public const SUPPORTED_IMAGE_FORMATS = ['jpg', 'jpeg', 'gif', 'png', 'avif', 'webp'];
private const SIGNING_PARAM = 's';
private Asset $asset;

Expand Down

0 comments on commit 2b19065

Please sign in to comment.