{{cloudronName}}
+Cloudron
There is no app configured for this domain. If you want to put an app at this location,
please reconfigure the app in the settings panel and leave the location empty.
diff --git a/webadmin/src/nakeddomain.html b/webadmin/src/nakeddomain.html index de9242ca2..ae5e3de46 100644 --- a/webadmin/src/nakeddomain.html +++ b/webadmin/src/nakeddomain.html @@ -38,18 +38,9 @@ else return 'https://my' + tmp.slice(tmp.indexOf('-')) + host.slice(tmp.length); } - app.controller('Controller', ['$scope', '$http', function ($scope, $http) { + app.controller('Controller', ['$scope', function ($scope) { $scope.apiOrigin = detectApiOrigin(); $scope.cloudronAvatar = $scope.apiOrigin + '/api/v1/cloudron/avatar'; - $scope.cloudronName = 'Cloudron'; - - $http.get($scope.apiOrigin + '/api/v1/cloudron/status').success(function(data, status) { - if (status !== 200 || typeof data !== 'object') return console.error(status, data); - $scope.cloudronName = data.cloudronName; - document.title = $scope.cloudronName; - }).error(function (data, status) { - console.error(status, data); - }); }]); @@ -60,7 +51,7 @@
There is no app configured for this domain. If you want to put an app at this location,
please reconfigure the app in the settings panel and leave the location empty.