Skip to content

Commit

Permalink
#138 add image/avif mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed Oct 3, 2021
1 parent ea963ad commit 2bf5588
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class GZipHelper
"jpeg" => array('as' => 'image'),
"png" => array('as' => 'image'),
"webp" => array('as' => 'image'),
"avif" => array('as' => 'image'),
"swf" => array('as' => 'object'),
"ico" => array('as' => 'image'),
"svg" => array('as' => 'image'),
Expand Down Expand Up @@ -104,6 +105,7 @@ class GZipHelper
"jpeg" => "image/jpeg",
"png" => "image/png",
"webp" => "image/webp",
"avif" => "image/avif",
"svg" => "image/svg+xml",
"swf" => "application/x-shockwave-flash",
"txt" => "text/plain",
Expand Down

0 comments on commit 2bf5588

Please sign in to comment.