Update servers.js

master
Ben Grabau 2 years ago
parent b6cbef8cff
commit d127b598f4

@ -8,7 +8,7 @@ app.controller('Servers', function ($scope, $window, $http) {
if ($scope.preload && $scope.preload.match(/[0-9A-Z\-]+/g)) { if ($scope.preload && $scope.preload.match(/[0-9A-Z\-]+/g)) {
$http({ $http({
url: `preload/${$scopepreload}.json` url: `preload/${$scope.preload}.json`
}).then((data) => { }).then((data) => {
console.log(data) console.log(data)
$scope.servers = data.servers; $scope.servers = data.servers;

Loading…
Cancel
Save