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

@@ -96,7 +96,7 @@
<div class="card-action">
<div class="row valign-wrapper">
<div class="input-field col s3">
<input type="number" name="profileName" id="profileName" />
<input type="text" name="profileName" id="profileName" />
<label for="Xmax">enter new profile name</label>
</div>
<div class="col s6">

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'