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

@@ -23,6 +23,7 @@ app.controller('SetupController', ['$scope', 'Client', function ($scope, Client)
$scope.error = null;
$scope.provider = '';
$scope.apiServerOrigin = '';
$scope.webServerOrigin = '';
$scope.activateCloudron = function () {
$scope.busy = true;
@@ -73,6 +74,7 @@ app.controller('SetupController', ['$scope', 'Client', function ($scope, Client)
$scope.account.requireEmail = !search.email;
$scope.provider = status.provider;
$scope.apiServerOrigin = status.apiServerOrigin;
$scope.webServerOrigin = status.webServerOrigin;
$scope.initialized = true;