diff --git a/webadmin/src/error.html b/webadmin/src/error.html index fb11c130c..67cc14c43 100644 --- a/webadmin/src/error.html +++ b/webadmin/src/error.html @@ -31,7 +31,6 @@ var app = angular.module('Application', []); app.controller('Controller', ['$scope', '$http', function ($scope, $http) { - $scope.cloudronName = 'Cloudron'; $scope.webServerOriginLink = '/'; $scope.errorMessage = ''; @@ -44,15 +43,6 @@ else console.error(status, data); }); - // try to fetch cloudron status - $http.get('/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'; - }).error(function (data, status) { - console.error(status, data); - }); - var search = window.location.search.slice(1).split('&').map(function (item) { return item.split('='); }).reduce(function (o, k) { o[k[0]] = k[1]; return o; }, {}); $scope.errorCode = search.errorCode || 0; @@ -68,7 +58,7 @@
-

{{cloudronName}}

+

Cloudron

Something has gone wrong