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