Skip to content

Commit

Permalink
admin/monitoring: log renamed in "live log"
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed Nov 19, 2024
1 parent 1e4f8da commit d3d4f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/src/MonitorPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
2 changes: 1 addition & 1 deletion src/nat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3d4f07

Please sign in to comment.