Update App.jsx

This commit is contained in:
Karmaa
2024-12-12 19:50:59 -06:00
committed by GitHub
parent b2f5459817
commit 37e314edff

View File

@@ -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;
export default App;