Source the dns setup image from the api server

This commit is contained in:
Johannes Zellner
2019-10-18 21:54:59 +02:00
parent b06d1fd293
commit f393f58bce
2 changed files with 6 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
$scope.state = null; // 'initialized', 'waitingForDnsSetup', 'waitingForBox'
$scope.error = {};
$scope.provider = '';
$scope.apiServerOrigin = '';
$scope.showDNSSetup = false;
$scope.instanceId = '';
$scope.isDomain = false;
@@ -235,6 +236,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
}
$scope.instanceId = search.instanceId;
$scope.apiServerOrigin = status.apiServerOrigin;
$scope.provider = status.provider;
$scope.state = 'initialized';
});