This commit is contained in:
wang 2024-07-11 16:23:43 +08:00
parent b29f3fa341
commit 29397f413d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default function Test({ ip = "", port = "22", password = "123456", user =
if (terminal !== null) { if (terminal !== null) {
terminal.open(terminalObj.current); terminal.open(terminalObj.current);
const newSocket = io("ws:///"); const newSocket = io("ws://");
setSocket(newSocket); setSocket(newSocket);
terminal.onData((data) => { terminal.onData((data) => {