This commit is contained in:
parent
b29f3fa341
commit
29397f413d
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue