mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 13:17:59 +00:00
commit
70f3c31989
|
@ -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