Skip to content

Commit

Permalink
fix: add region and https to endpoint of bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
SannyNguyenHung committed Dec 6, 2023
1 parent 361b401 commit 7b98723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
Expand Down

0 comments on commit 7b98723

Please sign in to comment.