feat: Update logging endpoint and add buzz on success
This commit is contained in:
@@ -619,7 +619,8 @@ function buttonPress(val) {
|
||||
console.log(logStr);
|
||||
if (Bangle.http){
|
||||
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");
|
||||
}).catch((e)=>{
|
||||
g.setBgColor(0).clearRect(0, 0, g.getWidth(), RESULT_HEIGHT-1);
|
||||
|
||||
Reference in New Issue
Block a user