Skip to content

Commit

Permalink
Merge pull request #24 from megoxv/master
Browse files Browse the repository at this point in the history
Update accepted file types
  • Loading branch information
3x1io committed Sep 26, 2024
2 parents 3ffb377 + 35f9f6d commit 3e00a8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Pages/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,12 @@ public function getHeaderActions(): array
->form([
FileUpload::make('file')
->label(trans('filament-plugins::messages.plugins.form.file'))
->acceptedFileTypes(['application/zip'])
->acceptedFileTypes([
'application/zip',
'application/x-zip',
'application/octet-stream',
'application/x-zip-compressed',
])
->required()
->storeFiles(false)
])
Expand Down

0 comments on commit 3e00a8d

Please sign in to comment.