From 7b98723e5f76cfda1395515ce4e171d5524aa399 Mon Sep 17 00:00:00 2001 From: Sanny Nguyen Hung Date: Wed, 6 Dec 2023 13:27:49 +0100 Subject: [PATCH] fix: add region and https to endpoint of bucket --- config/plugins.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/plugins.js b/config/plugins.js index 085ca3f..6b172a7 100755 --- a/config/plugins.js +++ b/config/plugins.js @@ -18,7 +18,8 @@ module.exports = ({ env }) => { provider: "aws-s3", providerOptions: { s3Options: { - endpoint: env("OBS_ENDPOINT"), + endpoint: "https://" + env("OBS_ENDPOINT"), + region: "eu-de", params: { Bucket: env("OBS_BUCKET_NAME"), },