diff --git a/android/code/notifications.mjs b/android/code/notifications.mjs index 01ce9a1..f1daa06 100644 --- a/android/code/notifications.mjs +++ b/android/code/notifications.mjs @@ -38,4 +38,5 @@ export function send_notification(is_ok, context, message) { } } } + notification_subs = updated_subs; } diff --git a/http_server/code/src/trafficLog.jsx b/http_server/code/src/trafficLog.jsx index 075f216..e9b3297 100644 --- a/http_server/code/src/trafficLog.jsx +++ b/http_server/code/src/trafficLog.jsx @@ -5,13 +5,12 @@ import { h, render, Component } from "preact"; */ /** - * A number, or a string containing a number. * @typedef {{ * body: string, * headers: [[string, string]], * url: URL, * id: string, - * kv: Map, + * kv: Map<[Source, string], string>, * }} Req */ @@ -93,7 +92,6 @@ class TrafficLog extends Component { this.connection.onmessage = (msg) => { let req = process_msg(msg.data); if (req) { - console.log(req); this.setState({ requests: [...this.state.requests, req] }); } };