mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix tracker IP with reverse proxy
This commit is contained in:
@@ -31,7 +31,7 @@ const trackerServer = new TrackerServer({
|
||||
let ip: string
|
||||
|
||||
if (params.type === 'ws') {
|
||||
ip = params.socket.ip
|
||||
ip = params.ip
|
||||
} else {
|
||||
ip = params.httpReq.ip
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user