Skip to content

Commit

Permalink
Merge pull request #1 from adevesa/develop
Browse files Browse the repository at this point in the history
change appliation/config.php for webp mime
  • Loading branch information
Devesa Agustín authored Jan 8, 2020
2 parents f0a6de5 + ce5815d commit 8cc1f66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions application/config/mimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
'jpeg' => array('image/jpeg', 'image/pjpeg','image/webp'),
'jpg' => array('image/jpeg', 'image/pjpeg','image/webp'),
'jpe' => array('image/jpeg', 'image/pjpeg','image/webp'),
'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
Expand Down Expand Up @@ -140,6 +140,7 @@
'f4v' => array('video/mp4', 'video/x-f4v'),
'flv' => 'video/x-flv',
'webm' => 'video/webm',
'webp' => 'image/webp',
'aac' => array('audio/x-aac', 'audio/aac'),
'm4u' => 'application/vnd.mpegurl',
'm3u' => 'text/plain',
Expand Down

0 comments on commit 8cc1f66

Please sign in to comment.