Make box come up regardless of dns config

Part of #302
This commit is contained in:
Girish Ramakrishnan
2017-04-25 15:18:09 -07:00
parent 923e1d0524
commit ddf7823b19
4 changed files with 48 additions and 55 deletions

View File

@@ -70,7 +70,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', 'ngTld', func
$scope.busy = true;
Client.getStatus(function (error, status) {
if (!error && status.adminFqdn && status.configState.dns && status.configState.tls) {
if (!error && status.adminFqdn && status.webadminStatus.dns && status.webadminStatus.tls) {
window.location.href = 'https://' + status.adminFqdn + '/setup.html';
}