From 906040223ea7aedc7882282380fee39d8f4dbac3 Mon Sep 17 00:00:00 2001 From: Takeru Fukumoto Date: Thu, 20 Feb 2025 19:06:06 +0900 Subject: [PATCH] fix: default scheme settings to https Signed-off-by: Takeru Fukumoto --- lib/imageRouter/s3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imageRouter/s3.js b/lib/imageRouter/s3.js index 3f47df2099..f043f8f19a 100644 --- a/lib/imageRouter/s3.js +++ b/lib/imageRouter/s3.js @@ -51,7 +51,7 @@ exports.uploadImage = function (imagePath, callback) { // default scheme settings to https let s3Endpoint = 'https://s3.amazonaws.com' if (config.s3.region && config.s3.region !== 'us-east-1') { - s3Endpoint = `s3-${config.s3.region}.amazonaws.com` + s3Endpoint = `https://s3-${config.s3.region}.amazonaws.com` } // rewrite endpoint from config if (config.s3.endpoint) {