Fix stupid error (forgot to change websocket to wsUrl)
This commit is contained in:
1 parent
4d8263a788
commit
3c474d3b52
2 files changed
+49
-37
No files matched your search
@@ -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}`);
|
||||
|
||||
Reference in new issue
Block a user