We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2989453 + 9060402 commit 46fecbfCopy full SHA for 46fecbf
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