Ensure webServerOrigin is actually set

This commit is contained in:
Johannes Zellner
2019-12-23 17:19:36 +01:00
parent f5fd75f4fa
commit dfd31722fc
4 changed files with 10 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
$scope.isSubdomain = false;
$scope.hyphenatedSubdomains = false;
$scope.advancedVisible = false;
$scope.webServerOrigin = '';
$scope.tlsProvider = [
{ name: 'Let\'s Encrypt Prod', value: 'letsencrypt-prod' },
@@ -274,6 +275,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
$scope.instanceId = search.instanceId;
$scope.provider = status.provider;
$scope.webServerOrigin = status.webServerOrigin;
$scope.state = 'initialized';
});
}