Add all wasabi regions
This commit is contained in:
@@ -37,7 +37,8 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
|
||||
$scope.wasabiRegions = [
|
||||
{ name: 'EU Central 1', value: 'https://s3.eu-central-1.wasabisys.com' },
|
||||
{ name: 'US East 1', value: 'https://s3.wasabisys.com' },
|
||||
{ name: 'US East 1', value: 'https://s3.us-east-1.wasabisys.com' },
|
||||
{ name: 'US East 2', value: 'https://s3.us-east-2.wasabisys.com ' },
|
||||
{ name: 'US West 1', value: 'https://s3.us-west-1.wasabisys.com' }
|
||||
];
|
||||
|
||||
@@ -936,7 +937,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
backupConfig.region = 'us-east-1';
|
||||
backupConfig.signatureVersion = 'v4';
|
||||
} else if (backupConfig.provider === 'wasabi') {
|
||||
backupConfig.region = 'us-east-1';
|
||||
backupConfig.region = $scope.wasabiRegions.find(function (x) { return x.value === $scope.importBackup.endpoint; }).region;
|
||||
backupConfig.signatureVersion = 'v4';
|
||||
} else if (backupConfig.provider === 'scaleway-objectstorage') {
|
||||
backupConfig.region = $scope.scalewayRegions.find(function (x) { return x.value === $scope.importBackup.endpoint; }).region;
|
||||
|
||||
Reference in New Issue
Block a user