diff options
Diffstat (limited to 'server/controllers')
-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 | } |