更新
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'path' => root_path() . 'uploads',
|
||||
'max_size_mb' => 50,
|
||||
'allowed_images' => ['image/jpeg', 'image/png', 'image/gif', 'image/webp'],
|
||||
'allowed_videos' => ['video/mp4', 'video/webm', 'video/quicktime'],
|
||||
'allowed_audios' => ['audio/mpeg', 'audio/wav', 'audio/ogg', 'audio/webm'],
|
||||
'allowed_documents' => [
|
||||
'application/pdf',
|
||||
'text/plain',
|
||||
'text/markdown',
|
||||
'application/msword',
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user