public: can control up to 9 separate displays
This commit is contained in:
parent
baf992bccb
commit
bc9d27aa94
7 changed files with 31 additions and 19 deletions
|
@ -131,7 +131,7 @@ angular.module("FICApp")
|
|||
})
|
||||
.controller("DataController", function($scope, $http, $rootScope, $interval) {
|
||||
var refreshScene = function() {
|
||||
$http.get("/public.json").then(function(response) {
|
||||
$http.get(window.location.pathname.replace(".html", ".json")).then(function(response) {
|
||||
if ($scope.lastpublicetag == response.headers().etag)
|
||||
return;
|
||||
$scope.lastpublicetag = response.headers().etag;
|
||||
|
|
Reference in a new issue