master
Tomek Dubrownik 2013-08-21 19:06:38 +02:00
parent d4206526eb
commit 3b81d567f0
1 changed files with 1 additions and 1 deletions

View File

@ -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();