From 88394101a513cf41dd4af1bb46881e7ae78bcf9f Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 7 May 2022 18:15:13 +0200 Subject: Add RPS --- tictactoe/morpion/online.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tictactoe/morpion/online.js') diff --git a/tictactoe/morpion/online.js b/tictactoe/morpion/online.js index c218e79..49bf957 100644 --- a/tictactoe/morpion/online.js +++ b/tictactoe/morpion/online.js @@ -1,4 +1,4 @@ -const onlineServer = "wss://tictactoe.minteck.org/server/prod"; +const onlineServer = "wss://arcade.minteck.org/tictactoe/server/prod"; let errorDisconnect = false; let wcInterval; let waitCount = 0; @@ -46,7 +46,7 @@ function online() { let parts = location.hash.substring(8).split("|"); ws.send(JSON.stringify({ action: 'init', - room: atob(parts[0]), + room: "tictactoe." + atob(parts[0]), player: atob(parts[1]) })) } -- cgit