Skip to content

Commit

Permalink
add webp
Browse files Browse the repository at this point in the history
  • Loading branch information
zenn1989 committed Jul 14, 2022
1 parent 248fe83 commit 4026f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Apps/Controller/Api/Tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class Tinymce extends Controller
{
const UPLOAD_TYPES = [
'images' => ['.jpg', '.jpeg', '.gif', '.png', '.bmp', '.svg'],
'images' => ['.jpg', '.jpeg', '.gif', '.png', '.bmp', '.webp', '.svg'],
'files' => ['.zip', '.rar', '.gz', '.tar', '.bz2', '.bz', '.doc', '.docx', '.xls', '.xlsx', '.txt', '.csv', '.odt', '.pdf', '.djvu'],
'video' => ['.swf', '.fla', '.flv', '.mp4', 'mpeg4', '.ogg', '.mov', '.avi', '.webm', '.wmv', '.3gp']
];
Expand Down

0 comments on commit 4026f30

Please sign in to comment.