This commit is contained in:
salam committed 2026-10-28 10:39:14 +01:00
1 parent 07d4383145
commit ec33b51bff
1 file changed
+17 -1
+17 -1
View File
@@ -74,9 +74,25 @@ return [
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/vnd.ms-excel',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
// ZIP
'application/zip',
'application/x-zip-compressed',
// CSV
'text/csv',
'text/plain',
// Excel (XLS & XLSX)
'application/vnd.ms-excel',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
// Tar.gz / Gzip
'application/x-gzip',
'application/gzip',
'application/x-tar',
],
'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp', 'gif', 'pdf', 'txt', 'csv', 'doc', 'docx', 'xls', 'xlsx'],
'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp', 'gif', 'pdf', 'txt', 'csv', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'xls', 'xlsx', 'gz', 'tar'],
'preview_mimes' => ['image/jpeg', 'image/png', 'image/webp', 'image/gif', 'application/pdf', 'text/plain'],