From 66fff69c1297ec60150c837e8484c49bb0017106 Mon Sep 17 00:00:00 2001 From: jmgiacalone Date: Sat, 23 Mar 2024 20:12:09 +0000 Subject: [PATCH] updated client --- data/index.htm | 2 +- data/js/scripts.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/index.htm b/data/index.htm index 6507014..622458e 100644 --- a/data/index.htm +++ b/data/index.htm @@ -96,7 +96,7 @@
- +
diff --git a/data/js/scripts.js b/data/js/scripts.js index c78d510..47d780c 100644 --- a/data/js/scripts.js +++ b/data/js/scripts.js @@ -24,7 +24,7 @@ setInterval(function () { }); myChart.update(); } -}, 40000); +}, 4000); async function fetchData(url) { let raw = await fetch(url); @@ -142,7 +142,7 @@ function runProfile() { myChart.update(); } - fetch('/profile', { + fetch('/profile/run', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded'