generated from jmgiacalone/esp32-template
updated client
This commit is contained in:
1 parent
8b1153df9e
commit
66fff69c12
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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">
|
||||
|
||||
+2
-2
@@ -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