.json
parent
d4206526eb
commit
3b81d567f0
|
@ -5,7 +5,7 @@ window.onload = function() {
|
|||
month = today.getMonth();
|
||||
for(i = 0; i < 12; ++i) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", 'https://kasownik.hackerspace.pl/api/month/' + year + '/' + month, false);
|
||||
xhr.open("GET", 'https://kasownik.hackerspace.pl/api/month/' + year + '/' + month + '.json', false);
|
||||
xhr.send();
|
||||
var res = JSON.parse(xhr.response),
|
||||
date = new Date();
|
||||
|
|
Loading…
Reference in New Issue