mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +00:00
WebSocket対応漏れ
This commit is contained in:
parent
681dae73cf
commit
42851627fe
|
@ -97,7 +97,7 @@ export default class ReversiModule implements IModule {
|
||||||
private onReversiGameStart = (game: any) => {
|
private onReversiGameStart = (game: any) => {
|
||||||
// ゲームストリームに接続
|
// ゲームストリームに接続
|
||||||
const gw = new ReconnectingWebSocket(`${config.wsUrl}/games/reversi-game?i=${config.i}&game=${game.id}`, [], {
|
const gw = new ReconnectingWebSocket(`${config.wsUrl}/games/reversi-game?i=${config.i}&game=${game.id}`, [], {
|
||||||
WebSocket: WebSocket
|
constructor: WebSocket
|
||||||
});
|
});
|
||||||
|
|
||||||
function send(msg) {
|
function send(msg) {
|
||||||
|
|
Loading…
Reference in a new issue