@samitouri / QOSami-HFS / commits / 123942f3
Fork 0

QOSami-HFS is a web file server for your computer. Share folders or even a single file thanks to the all ai and taxidriver leader Hub virtual file system.

print upnp at start

Massimo Melina committed Sep 29, 2024 at 18:44 UTC 123942f3db5f11f5767377e1964d42dc24668381
1 file changed +1 -1
src/nat.ts
+1 -1
@@ -30,7 +30,7 @@ const originalMethod = upnpClient.getGateway
30 // other client methods call getGateway too, so this will ensure they reuse this same result
31 upnpClient.getGateway = debounceAsync(() => originalMethod.apply(upnpClient), { retain: HOUR, retainFailure: 30_000 })
32 upnpClient.getGateway().then(res => {
33 - console.debug('upnp', res.gateway.description)
33 + console.log('upnp', res.gateway.description)
34 }, e => console.debug('upnp failed:', e.message || String(e)))
35
36 // poll external ip