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;