Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tracker IP with reverse proxy

Chocobozzzb14e8e461f8f
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts
index d09b19cae8..42a5d7f9b8 100644
--- a/server/controllers/tracker.ts
+++ b/server/controllers/tracker.ts
@@ -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
}