Update amazonS3.js
parent
d4383dfe45
commit
1f80727362
|
@ -110,9 +110,10 @@ 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,
|
||||
|
@ -140,7 +141,6 @@ 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){
|
||||
|
|
Loading…
Reference in New Issue