Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a799754

Browse files
This might be the issue
1 parent 5ad9f25 commit a799754

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎functions/save.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ exports.handler = function(event, context, callback) {
3939
Math.random().toString(36).substring(2, 15) +
4040
".jpg";
4141
var params = {
42-
Body: JSON.stringify(jsondata.data),
42+
Body: jsondata.data,
4343
Bucket: process.env.S3_BUCKET,
4444
Key: filename,
4545
ContentType: "image/jpeg",
46+
ContentEncoding: "base64",
4647
ACL: "public-read",
4748
};
4849
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /