Compare commits
2 commits
bfb51455be
...
0d78dadf4e
Author | SHA1 | Date | |
---|---|---|---|
Xiretza | 0d78dadf4e | ||
Xiretza | 655a5fec36 |
|
@ -46,12 +46,8 @@ var its = (function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function refresh() {
|
function refresh() {
|
||||||
$.get('https://it-syndikat.org/api/status.txt')
|
$.get('https://spaceapi.it-syndikat.org/api/status-s.php')
|
||||||
.then(function(data) {
|
.then(function(isitopen) {
|
||||||
var a = data.split(',');
|
|
||||||
var isitopen = a[0];
|
|
||||||
var up_date = new Date(parseInt(a[1]) * 1000);
|
|
||||||
|
|
||||||
var state;
|
var state;
|
||||||
|
|
||||||
if(isitopen === 'true')
|
if(isitopen === 'true')
|
||||||
|
|
Loading…
Reference in a new issue