set config(['livewire.temporary_file_upload.disk' => 'local']); to local in one resouce import file
my system is uploading all the files to s3 but I would like the import file to be local because the package does not take s3
1 Reply
I currently do this:
class ListPoints extends ListRecords
{
protected static string $resource = PointResource::class;
protected function getActions(): array
{
config(['livewire.temporary_file_upload.disk' => 's3']);
return [
Actions\CreateAction::make()
->label('Create Point'),
ImportAction::make('poits')
->label('Import Points')
->fields([...
but it still saves the temp file in s3