diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-06 15:51:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-11 11:49:00 +0200 |
commit | 31aa391d13f78743bb552bc8c337964afb3b5817 (patch) | |
tree | aa99dcacab605ef7060df29482416f11b1b13a1b /server | |
parent | 99c05b3dcc720f97fae16922fb66936bda196379 (diff) | |
download | PeerTube-31aa391d13f78743bb552bc8c337964afb3b5817.tar.gz PeerTube-31aa391d13f78743bb552bc8c337964afb3b5817.tar.zst PeerTube-31aa391d13f78743bb552bc8c337964afb3b5817.zip |
Update server dependencies
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/tracker.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 915981f67..37f8f12c9 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts | |||
@@ -109,7 +109,8 @@ function createWebsocketTrackerServer (app: express.Application) { | |||
109 | return | 109 | return |
110 | } | 110 | } |
111 | 111 | ||
112 | return wss.handleUpgrade(request, socket, head, ws => wss.emit('connection', ws, request)) | 112 | // FIXME: typings |
113 | return wss.handleUpgrade(request, socket as any, head, ws => wss.emit('connection', ws, request)) | ||
113 | }) | 114 | }) |
114 | .catch(err => logger.error('Cannot check if tracker block ip exists.', { err })) | 115 | .catch(err => logger.error('Cannot check if tracker block ip exists.', { err })) |
115 | } | 116 | } |