]> git.gag.com Git - fw/quantimotor/commitdiff
turn off console logging of arm/disarm button clicks
authorBdale Garbee <bdale@gag.com>
Mon, 26 May 2025 21:22:45 +0000 (15:22 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 26 May 2025 21:22:45 +0000 (15:22 -0600)
ui/index.html

index 1b5effc80a03cffa816c5e38b45cbcdbd3d93d4e..f99fe8e9d086b4ed655469c216818b8a1c2c488b 100644 (file)
@@ -49,7 +49,7 @@
           var jsonString = '{"request": "disarm"}';
           document.querySelector('#ArmButton').textContent = 'Arm';
         }
-       console.log({ armreq });
+       // console.log({ armreq });
         const fetchOptions = {
           method: "POST",
           headers: {
@@ -58,7 +58,7 @@
           },
           body: jsonString,
         };
-       console.log({ fetchOptions });
+       // console.log({ fetchOptions });
        const response = fetch("/armsystem", fetchOptions);
       }