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

@@ -1,3 +1,8 @@
## Version 2.2.0.10
#### Release date: 27. Jun 2022
- Fixed issue with downloading certain file types when you are using Backblaze storage driver
- Fixed issue when Google Analytics doesn't record visitors
## Version 2.2.0.9 ## Version 2.2.0.9
#### Release date: 23. Jun 2022 #### Release date: 23. Jun 2022
- Added spinner when pdf is loading - Added spinner when pdf is loading

View File

@@ -33,7 +33,7 @@ class DownloadFileAction
'ResponseContentType' => Storage::mimeType($filePath), 'ResponseContentType' => Storage::mimeType($filePath),
'ResponseContentLength' => Storage::size($filePath), 'ResponseContentLength' => Storage::size($filePath),
'ResponseContentRange' => 'bytes 0-600/' . 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 // If s3 redirect to temporary download url