Merge branch 'feat-large-file' of github.com:lohanidamodar/appwrite into feat-large-file
This commit is contained in:
commit
e5e6425a3d
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/download')
|
|||
;
|
||||
|
||||
if ($device->getFileSize($path) > APP_LIMIT_COMPRESSION) {
|
||||
$response->addHeader('Content-Length',$device->getFileSize($path));
|
||||
$response->addHeader('Content-Length', $device->getFileSize($path));
|
||||
|
||||
$handle = fopen($path, 'rb');
|
||||
while(!feof($handle)) {
|
||||
|
|
Loading…
Reference in a new issue