Skip to content

Commit

Permalink
Fixed #7850: allow xlsx file. (#8386)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
ncareau committed Nov 17, 2020
1 parent a97b15e commit 402fecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/AssetFileRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function rules()
{
$max_file_size = \App\Helpers\Helper::file_upload_max_size();
return [
'file.*' => 'required|mimes:png,gif,jpg,svg,jpeg,doc,docx,pdf,txt,zip,rar,xls,lic,xml,rtf|max:'.$max_file_size,
'file.*' => 'required|mimes:png,gif,jpg,svg,jpeg,doc,docx,pdf,txt,zip,rar,xls,xlsx,lic,xml,rtf|max:'.$max_file_size,
];
}
}

0 comments on commit 402fecd

Please sign in to comment.