mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 19:06:27 +00:00
server command line: log peer_id for web peers
This commit is contained in:
parent
31db779337
commit
749cee1465
@ -340,7 +340,7 @@ Server.prototype._onWebSocketRequest = function (socket, params) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (params.action === common.ACTIONS.ANNOUNCE) {
|
if (params.action === common.ACTIONS.ANNOUNCE) {
|
||||||
self.emit(common.EVENT_NAMES[params.event], params.addr)
|
self.emit(common.EVENT_NAMES[params.event], params.peer_id)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user