=stop the timer
This commit is contained in:
parent
2d95efcaf8
commit
555e7b85ea
9 changed files with 23 additions and 17 deletions
|
@ -96,7 +96,7 @@
|
|||
const res = await fetch(`/api/start`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
duration: "0m25s",
|
||||
duration: "0m10s",
|
||||
mode: 'time'
|
||||
}),
|
||||
headers: {
|
||||
|
@ -105,6 +105,7 @@
|
|||
});
|
||||
console.log(`retval: ${JSON.stringify(res)}`);
|
||||
start = true;
|
||||
end = false;
|
||||
}
|
||||
|
||||
async function click(id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue