From 3c474d3b52bca1b494151e67c151b7ec781a6b84 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Thu, 12 Dec 2024 19:22:39 -0600 Subject: [PATCH] Fix stupid error (forgot to change websocket to wsUrl) --- .idea/workspace.xml | 84 +++++++++++++++++++++++++------------------- frontend/src/App.jsx | 2 +- 2 files changed, 49 insertions(+), 37 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 78395fd8..dde1be2b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,10 @@ - @@ -450,6 +461,7 @@ - \ No newline at end of file diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 3d1e6649..c7d21ece 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -82,7 +82,7 @@ const App = () => { return; } - socket.current = new WebSocket("ws://localhost:8081"); + socket.current = new WebSocket(wsUrl); socket.current.onopen = () => { terminal.current.writeln(`Connected to WebSocket server at ${wsUrl}`);