Fix alfa link

This commit is contained in:
Mikołaj Pich 2018-05-04 11:35:00 +02:00
parent 0cd0e6939e
commit 7e1afe7ef9

View file

@ -77,7 +77,7 @@
alfaRes.onreadystatechange = function () {
if(alfaRes.status === 200) {
var json = JSON.parse(alfaRes.responseText);
alfaButton.href = json.assets[0].browser_download_url;
alfaButton.href = json.url;
document.querySelector("#alfa-version").innerHTML = json.latestVersionCode;
} else {
console.log("Błąd podczas ładowania strony\n");