1
0
Fork 0
forked from swee/MeowNex

Prepare for contribution #1

Merged
10kilo merged 30 commits from swee/MeowNex:main into main 2024-12-13 12:59:40 -08:00
Showing only changes of commit 7e99e73011 - Show all commits

View file

@ -6,6 +6,9 @@ fetch ("run.txt")
fetch ("block.txt") fetch ("block.txt")
.then(x => x.text()) .then(x => x.text())
.then(y => document.getElementById("blocked").innerHTML = y); .then(y => document.getElementById("blocked").innerHTML = y);
fetch ("link.txt")
.then(x => x.text())
.then(y => document.getElementById("links").innerHTML = y);
async function refresh(){ async function refresh(){
// Refresh the HTML to show the spinners // Refresh the HTML to show the spinners
document.getElementById("run").innerHTML = "..." document.getElementById("run").innerHTML = "..."
@ -17,4 +20,7 @@ async function refresh(){
fetch ("block.txt") fetch ("block.txt")
.then(x => x.text()) .then(x => x.text())
.then(y => document.getElementById("blocked").innerHTML = y); .then(y => document.getElementById("blocked").innerHTML = y);
fetch ("link.txt")
.then(x => x.text())
.then(y => document.getElementById("links").innerHTML = y);
} }