Michael Strickland 7 years ago
parent
commit
739c2ab4f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/transports/s3/remote.js

+ 1 - 1
lib/transports/s3/remote.js View File

5
 
5
 
6
   var s3Options = { params: { Bucket: bucket } };
6
   var s3Options = { params: { Bucket: bucket } };
7
   if (process.env.S3_ENDPOINT) {
7
   if (process.env.S3_ENDPOINT) {
8
-    S3Options.endpoint = process.env.S3_ENDPOINT;
8
+    s3Options.endpoint = process.env.S3_ENDPOINT;
9
   }
9
   }
10
   var s3 = new AWS.S3(s3Options);
10
   var s3 = new AWS.S3(s3Options);
11
 
11