Michael Strickland 8 年前
父节点
当前提交
739c2ab4f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/transports/s3/remote.js

+ 1 - 1
lib/transports/s3/remote.js 查看文件

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