mirror of https://github.com/Chocobozzz/PeerTube
Fix tracker IP with reverse proxy
parent
a11a782f5c
commit
b14e8e461f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue