Compare commits

..

No commits in common. "6ec0abc93669ead0a20af776e515dbbdb353de7d" and "b92c23472e229bda99df383362383dde74c8f7a4" have entirely different histories.

View file

@ -46,8 +46,12 @@ var its = (function() {
}
function refresh() {
$.get('https://spaceapi.it-syndikat.org/api/status-s.php')
.then(function(isitopen) {
$.get('https://it-syndikat.org/api/status.txt')
.then(function(data) {
var a = data.split(',');
var isitopen = a[0];
var up_date = new Date(parseInt(a[1]) * 1000);
var state;
if(isitopen === 'true')