backblaze fix

This commit is contained in:
Čarodej
2022-06-27 12:48:44 +02:00
parent 178a8606b9
commit e274088b71
2 changed files with 6 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class DownloadFileAction
'ResponseContentType' => Storage::mimeType($filePath),
'ResponseContentLength' => Storage::size($filePath),
'ResponseContentRange' => 'bytes 0-600/' . Storage::size($filePath),
'ResponseContentDisposition' => "attachment; filename=$fileName",
'ResponseContentDisposition' => 'attachment; filename="' . $fileName . '"',
];
// If s3 redirect to temporary download url