1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Fix tracker IP with reverse proxy

This commit is contained in:
Chocobozzz 2021-01-11 15:45:04 +01:00
parent a11a782f5c
commit b14e8e461f
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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
}