We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74065c7 commit 023afb9Copy full SHA for 023afb9
README.md
@@ -244,7 +244,7 @@ server.on('listening', function () {
244
console.log(`UDP tracker: udp://${udpHost}:${udpPort}`)
245
246
// WS
247
- const wsAddr = server.http.address()
+ const wsAddr = server.ws.address()
248
const wsHost = wsAddr.address !== '::' ? wsAddr.address : 'localhost'
249
const wsPort = wsAddr.port
250
console.log(`WebSocket tracker: ws://${wsHost}:${wsPort}`)
0 commit comments