Update amazonS3.js

fix-timezone-by-ui
Moe 2022-10-19 17:00:23 -07:00
parent d4383dfe45
commit 1f80727362
1 changed files with 2 additions and 2 deletions

View File

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