From 3cb25ce6fd874eea11d44437bc4a62fc9d722c8b Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 8 Sep 2016 16:09:34 +0200 Subject: [PATCH] Remove useless message in error.html --- webadmin/src/error.html | 11 ----------- 1 file changed, 11 deletions(-) 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.