diff --git a/webadmin/src/error.html b/webadmin/src/error.html index 0ce5ecfa4..c79e0c853 100644 --- a/webadmin/src/error.html +++ b/webadmin/src/error.html @@ -30,19 +30,9 @@ var app = angular.module('Application', []); app.controller('Controller', ['$scope', '$http', function ($scope, $http) { - $scope.webServerOriginLink = '/'; $scope.errorMessage = ''; $scope.statusOk = false; - // try to fetch at least config.json to get appstore url - $http.get('/config.json').success(function(data, status) { - if (status !== 200 || typeof data !== 'object') return console.error(status, data); - $scope.webServerOriginLink = data.webServerOrigin + '/console.html'; - }).error(function (data, status) { - if (status === 404) console.error('No config.json found'); - else console.error(status, data); - }); - // try to fetch the cloudron status $http.get('/api/v1/cloudron/status').success(function(data, status) { if (status !== 200 || typeof data !== 'object') return console.error(status, data); @@ -71,7 +61,6 @@

Something has gone wrong

- Please check your cloudron status here. Please try again reloading the page here.