mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-14 22:21:19 +01:00
Fix Egg Importer Upload File Type Filter (#2000)
This commit is contained in:
parent
59f0fe1959
commit
2f5790b121
@ -120,7 +120,7 @@ class ImportEggAction extends Action
|
||||
FileUpload::make('files')
|
||||
->label(trans('admin/egg.model_label'))
|
||||
->hint(trans('admin/egg.import.egg_help'))
|
||||
->acceptedFileTypes(['application/json', 'application/yaml', 'application/x-yaml', 'text/yaml'])
|
||||
->acceptedFileTypes(['application/json', 'application/x-yaml', 'text/yaml', '.yaml', '.yml'])
|
||||
->preserveFilenames()
|
||||
->previewable(false)
|
||||
->storeFiles(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user