From 7e99e730114890d17c989921469e6aee4aebe34b Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 6 Dec 2024 18:28:49 -0800 Subject: [PATCH] Update script.js --- script.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script.js b/script.js index 5b0d297..36e2249 100644 --- a/script.js +++ b/script.js @@ -6,6 +6,9 @@ fetch ("run.txt") fetch ("block.txt") .then(x => x.text()) .then(y => document.getElementById("blocked").innerHTML = y); +fetch ("link.txt") + .then(x => x.text()) + .then(y => document.getElementById("links").innerHTML = y); async function refresh(){ // Refresh the HTML to show the spinners document.getElementById("run").innerHTML = "..." @@ -17,4 +20,7 @@ async function refresh(){ fetch ("block.txt") .then(x => x.text()) .then(y => document.getElementById("blocked").innerHTML = y); + fetch ("link.txt") + .then(x => x.text()) + .then(y => document.getElementById("links").innerHTML = y); } \ No newline at end of file