Revert "Update amazonS3.js"

This reverts commit 1f80727362.
fix-timezone-by-ui
Moe 2022-10-20 15:34:23 -07:00
parent 981cf5ab05
commit 3c7289db0b
1 changed files with 2 additions and 2 deletions

View File

@ -110,10 +110,9 @@ module.exports = function(s,config,lang){
ke: e.ke,
time: k.startTime,
status: 1,
ext: ext,
details: s.s({
type : 's3',
location : saveLocation,
location : saveLocation
}),
size: k.filesize,
end: k.endTime,
@ -141,6 +140,7 @@ module.exports = function(s,config,lang){
Bucket: s.group[e.ke].init.aws_s3_bucket,
Key: saveLocation,
Body: fileStream,
ACL:'public-read',
ContentType:'image/jpeg'
},function(err,data){
if(err){