We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f00df50 commit d5c2f64Copy full SHA for d5c2f64
lib/imageRouter/s3.js
@@ -51,7 +51,7 @@ exports.uploadImage = function (imagePath, callback) {
51
// default scheme settings to https
52
let s3Endpoint = 'https://s3.amazonaws.com'
53
if (config.s3.region && config.s3.region !== 'us-east-1') {
54
- s3Endpoint = `s3-${config.s3.region}.amazonaws.com`
+ s3Endpoint = `https://s3-${config.s3.region}.amazonaws.com`
55
}
56
// rewrite endpoint from config
57
if (config.s3.endpoint) {
0 commit comments