From 7312b7685117f46f60418e1530d9137ead21fc39 Mon Sep 17 00:00:00 2001 From: uo288543 Date: Sun, 7 Apr 2024 22:43:08 +0200 Subject: [PATCH] ip hardcoded --- webapp/src/pages/MultiplayerRoom.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/pages/MultiplayerRoom.js b/webapp/src/pages/MultiplayerRoom.js index 8e3315f5..c33c9f21 100644 --- a/webapp/src/pages/MultiplayerRoom.js +++ b/webapp/src/pages/MultiplayerRoom.js @@ -5,7 +5,8 @@ import { useContext } from 'react'; import { SessionContext } from '../SessionContext'; import { useNavigate } from 'react-router-dom'; -const socketEndpoint = process.env.MULTIPLAYER_ENDPOINT || 'ws://localhost:5010'; +//const socketEndpoint = process.env.MULTIPLAYER_ENDPOINT || 'ws://localhost:5010'; +const socketEndpoint = process.env.MULTIPLAYER_ENDPOINT || 'ws://20.19.89.97/:5010'; const MultiplayerRoom = () => { const [roomCode, setRoomCode] = useState("");