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 97465b6

Browse files
fixed the endpoint env variable
1 parent f72a9b7 commit 97465b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎functions/save.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.handler = function(event, context, callback) {
44
// const { identity, user } = context.clientContext;
55

66
// Configure client for use with Spaces
7-
const spacesEndpoint = new AWS.Endpoint(S3_ENDPOINT);
7+
const spacesEndpoint = new AWS.Endpoint(process.env.S3_ENDPOINT);
88
const s3 = new AWS.S3({
99
endpoint: spacesEndpoint,
1010
accessKeyId: process.env.S3_KEY,

0 commit comments

Comments
(0)

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