From d3d4f0782edaa79b3a8a5d39817684f5b9b44297 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Tue, 19 Nov 2024 23:08:48 +0100 Subject: [PATCH] admin/monitoring: log renamed in "live log" --- admin/src/MonitorPage.ts | 2 +- src/nat.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/MonitorPage.ts b/admin/src/MonitorPage.ts index 44af14b0..44d715ec 100644 --- a/admin/src/MonitorPage.ts +++ b/admin/src/MonitorPage.ts @@ -138,7 +138,7 @@ function Connections() { }), ), logAble && h(Flex, { flex: 1, justifyContent: 'space-between' }, - wantLog ? "Latest requests" : h(Box), + wantLog ? "Live log" : h(Box), wantLogButton), ), h(Grid, { container: true, flex: 1, columnSpacing: 1 }, diff --git a/src/nat.ts b/src/nat.ts index e323c19a..41fd1538 100644 --- a/src/nat.ts +++ b/src/nat.ts @@ -30,7 +30,7 @@ const originalMethod = upnpClient.getGateway // other client methods call getGateway too, so this will ensure they reuse this same result upnpClient.getGateway = debounceAsync(() => originalMethod.apply(upnpClient), { retain: HOUR, retainFailure: 30_000 }) upnpClient.getGateway().then(res => { - console.log('upnp', res.gateway.description) + console.log("upnp found", res.gateway.description) }, e => console.debug('upnp failed:', e.message || String(e))) // poll external ip