diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 7ad533882..b9b119474 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -25,5 +25,6 @@ - xo-remote-parser patch - xo-server-transport-nagios patch +- xo-web patch diff --git a/packages/xo-web/src/xo-app/settings/remotes/remote.js b/packages/xo-web/src/xo-app/settings/remotes/remote.js index 86762138e..0f87257fc 100644 --- a/packages/xo-web/src/xo-app/settings/remotes/remote.js +++ b/packages/xo-web/src/xo-app/settings/remotes/remote.js @@ -143,11 +143,12 @@ export default decorate([ encryptionKey: encryptionKey.trim() !== '' ? encryptionKey : undefined, } if (type === 's3') { - const { allowUnauthorized, bucket, directory, protocol = 'https' } = state + const { allowUnauthorized, bucket, directory, protocol = 'https', region } = state urlParams.path = bucket + '/' + directory urlParams.allowUnauthorized = allowUnauthorized urlParams.protocol = protocol urlParams.useVhdDirectory = true // always on for s3 + urlParams.region = region } username && (urlParams.username = username) password && (urlParams.password = password)