mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 17:30:32 +03:00
Update server dependencies
This commit is contained in:
parent
99c05b3dcc
commit
31aa391d13
@ -86,7 +86,7 @@
|
||||
"config": "^3.0.0",
|
||||
"cookie-parser": "^1.4.3",
|
||||
"cors": "^2.8.1",
|
||||
"create-torrent": "^4.0.0",
|
||||
"create-torrent": "^5.0.0",
|
||||
"decache": "^4.6.0",
|
||||
"deep-object-diff": "^1.1.0",
|
||||
"email-templates": "^8.0.3",
|
||||
@ -142,7 +142,7 @@
|
||||
"webfinger.js": "^2.6.6",
|
||||
"webtorrent": "^1.0.0",
|
||||
"winston": "3.3.3",
|
||||
"ws": "^7.0.0",
|
||||
"ws": "^8.0.0",
|
||||
"youtube-dl": "^3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -168,7 +168,7 @@
|
||||
"@types/maildev": "^0.0.3",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"@types/mkdirp": "^1.0.0",
|
||||
"@types/mocha": "^8.0.3",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"@types/morgan": "^1.7.32",
|
||||
"@types/multer": "^1.3.3",
|
||||
"@types/node": "^14.14.31",
|
||||
|
@ -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…
Reference in New Issue
Block a user