stats endpoint changed in status in main.js.
This commit is contained in:
parent
a2e4a370a5
commit
bc1223cd35
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user