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'