Fix stupid error (forgot to change websocket to wsUrl)

This commit is contained in:
LukeGus
2024-12-12 19:22:39 -06:00
parent 4d8263a788
commit 3c474d3b52
2 changed files with 49 additions and 37 deletions

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