mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Update server dependencies
This commit is contained in:
parent
99c05b3dcc
commit
31aa391d13
3 changed files with 429 additions and 314 deletions
|
@ -109,7 +109,8 @@ function createWebsocketTrackerServer (app: express.Application) {
|
|||
return
|
||||
}
|
||||
|
||||
return wss.handleUpgrade(request, socket, head, ws => wss.emit('connection', ws, request))
|
||||
// FIXME: typings
|
||||
return wss.handleUpgrade(request, socket as any, head, ws => wss.emit('connection', ws, request))
|
||||
})
|
||||
.catch(err => logger.error('Cannot check if tracker block ip exists.', { err }))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue