Fix web-socket timeout.

This commit is contained in:
LukeGus
2024-12-10 21:28:39 -06:00
parent e1f9251186
commit 2061ac5e3b
3 changed files with 31 additions and 18 deletions

View File

@@ -82,7 +82,7 @@ const App = () => {
return;
}
socket.current = new WebSocket(wsUrl);
socket.current = new WebSocket("ws://localhost:8081");
socket.current.onopen = () => {
terminal.current.writeln(`Connected to WebSocket server at ${wsUrl}`);