From 42851627fea853a5ed085d24c16f839b93304cd2 Mon Sep 17 00:00:00 2001 From: mei23 Date: Mon, 24 Sep 2018 19:42:27 +0900 Subject: [PATCH] =?UTF-8?q?WebSocket=E5=AF=BE=E5=BF=9C=E6=BC=8F=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/reversi/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/reversi/index.ts b/src/modules/reversi/index.ts index f5c4697..a48898b 100644 --- a/src/modules/reversi/index.ts +++ b/src/modules/reversi/index.ts @@ -97,7 +97,7 @@ export default class ReversiModule implements IModule { private onReversiGameStart = (game: any) => { // ゲームストリームに接続 const gw = new ReconnectingWebSocket(`${config.wsUrl}/games/reversi-game?i=${config.i}&game=${game.id}`, [], { - WebSocket: WebSocket + constructor: WebSocket }); function send(msg) {