Skip to content

Commit 7b1e4e3

Browse files
committed
s3 support multiple cloud providers: #1761
Signed-off-by: blademainer <[email protected]>
1 parent 1a38aaa commit 7b1e4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/imageRouter/s3.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ exports.uploadImage = function (imagePath, callback) {
4848
const command = new PutObjectCommand(params)
4949

5050
s3.send(command).then(data => {
51-
// default settings to https scheme
51+
// default scheme settings to https
5252
let s3Endpoint = 'https://s3.amazonaws.com'
5353
if (config.s3.region && config.s3.region !== 'us-east-1') {
5454
s3Endpoint = `s3-${config.s3.region}.amazonaws.com`

0 commit comments

Comments
 (0)