Closed matthewhutchings closed 5 years ago
Would be great!
I've not confirmed this, but I believe you could specify the download
method on your field:
File::make('File')->download(function ($resource) {
return Storage::disk('s3')->download('attribute', 'name', [
'X-Vapor-Base64-Encode' => 'True',
])
}),
Description
I have switched over to Vapor and unable to download a file from S3. Download file just shows "Server Error" with no logs.
I suspect Nova this is what is needed
I do not believe there is a way to attach a Header response to the file download. Could this be fixed to enable downloads?