generated from jmgiacalone/esp32-template
updated client
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user