feat: Update logging endpoint and add buzz on success

This commit is contained in:
2026-03-14 16:34:47 -06:00
committed by Tanner
parent f94d5c2105
commit 6ae1b173bd
+2 -1
View File
@@ -619,7 +619,8 @@ function buttonPress(val) {
console.log(logStr); console.log(logStr);
if (Bangle.http){ if (Bangle.http){
const options = {timeout:3000, method: "post", body: logStr}; const options = {timeout:3000, method: "post", body: logStr};
Bangle.http("https://tbot.tannercollin.com/scratchpad", options).then(event => { Bangle.http("https://tbot.tannercollin.com/banglecalc", options).then(event => {
Bangle.buzz();
console.log("Successfully sent"); console.log("Successfully sent");
}).catch((e)=>{ }).catch((e)=>{
g.setBgColor(0).clearRect(0, 0, g.getWidth(), RESULT_HEIGHT-1); g.setBgColor(0).clearRect(0, 0, g.getWidth(), RESULT_HEIGHT-1);