Skip to content

Commit

Permalink
update accepted file types
Browse files Browse the repository at this point in the history
  • Loading branch information
megoxv committed Sep 26, 2024
1 parent 3ffb377 commit 35f9f6d
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 35f9f6d

Please sign in to comment.