From 37e314edffc9ff4eb184f0963fd6d1703d06a8e0 Mon Sep 17 00:00:00 2001 From: Karmaa <88517757+LukeGus@users.noreply.github.com> Date: Thu, 12 Dec 2024 19:50:59 -0600 Subject: [PATCH] Update App.jsx --- frontend/src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 3d1e6649..0b67381b 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}`); @@ -200,4 +200,4 @@ const App = () => { ); }; -export default App; \ No newline at end of file +export default App;