=stop the timer

This commit is contained in:
Miki 2023-12-05 16:37:01 +01:00
parent 2d95efcaf8
commit 555e7b85ea
9 changed files with 23 additions and 17 deletions

View file

@ -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) {