1
0
Fork 0
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:
Chocobozzz 2021-08-06 15:51:45 +02:00
parent 99c05b3dcc
commit 31aa391d13
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 429 additions and 314 deletions

View file

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