Merge pull request #12 from mei23/mei-0924-ws2

WebSocket再接続対応漏れ
This commit is contained in:
syuilo 2018-09-24 19:47:59 +09:00 committed by GitHub
commit 70f3c31989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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