wildcard dns is now a provider

This commit is contained in:
Girish Ramakrishnan
2018-09-06 19:49:20 -07:00
parent aa0a4ae3e9
commit 184ad3bc4e
4 changed files with 5 additions and 17 deletions

View File

@@ -111,12 +111,6 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
hyphenatedSubdomains: $scope.dnsCredentials.hyphenatedSubdomains
};
// special case the wildcard provider
if (provider === 'wildcard') {
provider = 'manual';
data.wildcard = true;
}
if (provider === 'route53') {
data.accessKeyId = $scope.dnsCredentials.accessKeyId;
data.secretAccessKey = $scope.dnsCredentials.secretAccessKey;