add pdf uploads
This commit is contained in:
parent
1fbe198d8c
commit
cd2e63d17d
5 changed files with 133 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ class LaravelFileUploader implements FileUploader
|
|||
'image/jpeg' => '.jpg',
|
||||
'image/png' => '.png',
|
||||
'image/webp' => '.webp',
|
||||
'application/pdf' => '.pdf',
|
||||
];
|
||||
if (isset($mimeExtensions[$file->getMimeType()])) {
|
||||
return $mimeExtensions[$file->getMimeType()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue