1
0

stats endpoint changed in status in main.js.

This commit is contained in:
Alexander Andreev 2022-05-24 18:49:24 +04:00
parent a2e4a370a5
commit bc1223cd35
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -1,7 +1,7 @@
function $(id) { return document.getElementById(id); } function $(id) { return document.getElementById(id); }
function updateRadioStatus() { function updateRadioStatus() {
fetch("/stats") fetch("/status")
.then(r => r.json()) .then(r => r.json())
.then(r => { .then(r => {
$("radio-status").innerHTML = $("radio-status").innerHTML =