1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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
}