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}`);