feat: get all data

This commit is contained in:
Fándly Gergő 2022-07-02 13:23:16 +03:00
parent 3fb9e49377
commit ed47ff673f

View File

@ -21,8 +21,7 @@ const FileDetails = () => {
s3.getObject( s3.getObject(
{ {
Bucket: route.params.bucket, Bucket: route.params.bucket,
Key: route.params.file, Key: route.params.file
Range: 'bytes=0-1',
}, },
(err, data) => { (err, data) => {
if (err) { if (err) {