updated client

This commit is contained in:
2024-03-23 20:12:09 +00:00
parent 8b1153df9e
commit 66fff69c12
2 changed files with 3 additions and 3 deletions

View File

@@ -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'